PouchDB tests fixes.
Moved the _all_docs logic into a standalone object and using that for cleaner serialization
Changed the Changes object from a serivice into an instantiable object and implemented better serialization.
Renamed Changes test for better consistency
Refactor revs diff serialization to better separate logic.
Clean up unused symbols and add inline type hinting
Refactor bulk docs normalization for better code separation
Fixed broken tests