flask.ext.sqlalchemy.Model mixins

(also includes some old changes I forgot to commit)