implement random number generation into block production
Merge branch 'master' of github.com:BitShares/bitshares_toolkit
fix bugs