Refactor documents methods of CouchDatabase into own partial class (also refactored documentation comments and code layout)