Fixes to varint parsing
* Added sanity test, json -> stobject -> hex -> stobject -> moreHex == hex
* TODO deterministic loading of JSON so suite can run under travis CI