Fix ref-cycles by making CBLRevision.document a weak ref

Fixes #177