Added partial non-admin support

I tried to add some partial support for connecting to a database other than /admin with only read/write rights on the user.

It won't crash on the index page at least, and you can do some basic operations. You can, however, click on a system collection to generate a error.

One of the problems with this is that it will show number of documents as a ?, I am not sure how the API calls work when you don't have admin access.

The code was just whopped together since I don't have any knowledge on how your software, so feel free to tweak the changes to make them less uggly.