Put the models in the db module. #35
Clean up models.py.
Do sequence-next-value-getting with DBSession.

I'm not sure why this broke *now* but oh well