Restoring 'types' to alembic version 'extract.id as int'.

this was causing a silent error when trying to upgrade to head. Alembic hangs forever with no error message if it can't find something inside of a migration.
Synthesis model.
Can add an idea to the synthesis through the API
Merge branch 'develop' of https://github.com/ImaginationForPeople/assembl into develop