Make mongodb backend use only a single collection

Now mongodb only uses a single collection for both meta and allows_. All included tests pass, though I haven't done any tests on a real application to see if there are any side effects or performance issues.

Might need an index on name: and/or key: fields since it's all in one collection, for better performance