Fixes DatabaseWrapper class

I added a Database data member and some (mostly dummy) methods to get
the DatabaseWrapper class to actually work with Django (version 1.6.4);
before, it kept failing to add users, usually terminating with an
AttributeError of some kind.