Expose client.snapshotDb. Pass client to db.query and db.queryDoc
Merge branch 'master' of https://github.com/share/livedb