fixed premature closing of GroupRepository
fixed lastrowid problems
fixed group bootstraping logic
fixed sql and added academic fixtures
Merge branch 'academic-entity'

Conflicts:
	datbigcuke/handlers/PageHandlers.py