Minor refactoring of couch_changes.erl Use a record for the accumulator used by the database changes fold function. This makes the much more readable, easier to extend and slightly less verbose.