added init_app support so flask.ext.peewee.db.Database(None) can be initialized