Ported GetProofOfWorkReward and GetProofOfStakeReward to validation for block synching.
Ported GetProofOfWorkReward and GetProofOfStakeReward to validation for block synching.

validation.cpp:2112 needs fixing and it needs testing.

deeponion/deeponion,deeponion/deeponion,deeponion/deeponion,deeponion/deeponion,deeponion/deeponion,deeponion/deeponion