SQLAlchemy integration

Since all tables include this __table_args__ bit, it might make sense to subclass db.Model to include this by default rather than repeating it in every class.