improve vote counting, genesis block init, etc
Merge branch 'master' of github.com:BitShares/bitshares_toolkit into upstream
Merge branch 'upstream'