Rewrote tests for mining rewards, to at least approximately match Doge.
Due to huge number of DOGE, tests cannot be completed without significant
re-engineering of number handling code.
Merge pull request #448 from rnicoll/1.7-dev-test-main

Fix mining rewards test