Committing changes to bmdb.py

I'm going to try switching from the SQLAlchemy ORM to the expression
language.