The old etags were actually just local synctags for an actual database
added optional history storage in documents - this is a temporary move, I need metadata
I'll start using metadata and see about moving synctags in there
Tidied up that database a little bit, need to move transactions out of it though
Upstream
Added vclocks to the writing process of documents, now need to determine conflicts
Well the code is pretty nasty, but that's conflict detection using vclocks - no tests
Use vclocks instead of syntags to detect conflicts
Implemented vclocks - not using them for replication checking, and not doing per-client entity ids yet though