Cleanup.
Optimized query count for displaying single test.
Removed obsolete code.
Merge branch 'master' into feature_test
Merge branch 'feature_security' into feature_test
Merge branch 'master' into feature_exam
Changed  access control role for /exam.
Merge commit '6cf6f929b8c' into feature_studies

Conflicts:
	app/config/security.yml
Added access control for /test.
Fixed permissions for viewing all tests.
Fixed permissions for viewing single test.
Merge branch 'feature_test' into feature_studies

Conflicts:
	app/config/security.yml