Altered Teams so they are backed by a postgresql datasource.
Fixed bug.
Changed longs into integers, so that they are compatible with auto incrementing columns in postgres. Also changed organization id column in teams table to match sql naming conventions
Merge branch 'feature/41' into develop