couch_changes module to handle the changes API in refuge an rcouch extracted from the apache couchdb code.