SQLAlchemy integration

Here's more info:
http://docs.sqlalchemy.org/en/rel_0_9/orm/relationships.html?highlight=relationship#sqlalchemy.orm.relationship.params.cascade
http://docs.sqlalchemy.org/en/rel_0_9/orm/session.html#delete

Cascades weren't defined in tables.sql, so I can remove this stuff if you want.