Refactor Permission objects
Only show Admin tab when a user has some admin permissions
Add basic Flask-Admin support
Merge branch 'flask_admin'

* flask_admin:
  Add basic Flask-Admin support
  Only show Admin tab when a user has some admin permissions
  Refactor Permission objects