Fix NewBlock to not fail when there is no one to pay
Add basic test framework for testing NewBlock Handler
Merge branch 'master' into test_mining
Initial testcase for mining payouts
Fix mining payouts to actually work