(#1775) - add getUrl() to http adapter

I'm probably going to need this function for a new plugin I'm working on : https://github.com/nolanlawson/pouchdb-authentication.  The plugin accesses the `_users` and `_security` databases, and for that it needs to know what the root URL of the Pouch is.