Fixed issue 1 (although minor issue where line break is appended to document upon each invocation of "get_versions"). A lot more testing with the version history feature is required, though.

Also:
* Only auto commit every 4 seconds for ease of testing.
* Make logging statements consistent (dump JSON).
* Allow other clients to see id of client who changed document version.