URL support for MongoDB backend.  Closes #1299