Use new couch_db APIs for uuids and epochs

This uses the new API to get the uuid and epochs for a database.
Merge pull request #93 from cloudant/19133-fix-code-upgrade

Use new couch_db APIs for uuids and epochs