migration towards new style history which consumes less data and is easier to index by block height.
Merge pull request #97 from evoskuil/develop

Replace big_number with generated code, add code generator.