Allow memstore instances to be started empty

This allows easier debugging of web UI problem.
Merge pull request #109 from kortschak/empty

Allow memstore instances to be started empty
fix leveldb (and speed up hasa)
fix mongo hasher
Go style

My C++ programmer's disease was acting up.
Merge pull request #118 from barakmich/issue117

Fixes #117, HasA speedup