Added db bindings.

Added mongo bindings and test scripts. Looks like Aro can remember
things now. We'll need to add plugin sandboxing at some point but that's
a ways off.