Merge pull request #96 from pmienk/develop

Correct uint64_t ambiguity...
migration towards new style history which consumes less data and is easier to index by block height.