Possible 830 fix.

Fixed an issue when the couchdb update sequence number and changes feed sequence number don't ever match up, and therefore replication continues indefinitely. In the case of that, check to see if the results are empty, and if so, cancel the replication. Could possibly break continuous replication if changes feed is returning empty all the time? All browser tests and nodejs tests passed.