Add view changes functionality

The changes in this repo are primarily for reading changes feeds. It adds functionality for couch_changes:handle_changes to handle both view and db changes queries.