Fix db module.

Overwrite some db attributes to ensure that it performs correctly.  These may be removed when the db package is updated.
Add ability to listen to changes feed.