add monkey patch functions to override the couchdbkit resource object