Support query parameters for couchdb changes.

Query parameters can now be used to query the changes feed, see
http://wiki.apache.org/couchdb/HTTP_database_API#Changes for further
details.