Added SQLAlchemy. Defined basic models.
Using Editor model instead of raw SQL in user loader.
Moved SQL with basic retrieval queries into models.
Moved SQL queries from frontend views into models.
Added disabled backref.
Added back psycopg2 requirement.
Moved remaining SQL queries into models.
Removed psycopg2 stuff.
Converted CSRF model to use query API from SQLAlchemy.
Removed unused DB_CONNECTION variable from settings.py
Converted ItemLink model to use query API from SQLAlchemy.
Converted Item model to use query API from SQLAlchemy.
Converted some functions in ItemData model to use query API from SQLAlchemy.
Added command for DB tables creation into manager.py
Cleanup.
Using UUID type for MBIDs.
Improved update_csrf() method.
Merge branch 'master' into alchemy
Changed some types to Unicode.
Merge branch 'master' into alchemy