Save user specified in QueryDefinition in db
Improve comments on AccessLevel
Implement access checks for new resource types
Merge master into permission_checks
result instance: eagerly fetch query instance
Add QtQueryResultInstance::getUsername()

Tracking change in core-api.
Add missing transient static in User
query def access: check query user matches
Add RuleBasedIntegrationTestMixin::autowireByType()
Merge master into permission_checks

Conflicts:
	TransmartCoreGrailsPlugin.groovy
Fix wrong variable being used
Fix StudyImpl::equals()/hashCode()

For some reason, neither @EqualsAndHashCode nor @ToString would detect
the name property. Not sure what's going on here. Replace with manual
implementation.

Fixes StudiesResourceServiceTests::testGetStudySet()
Fix User::canPerform() wrt unsupported resources
Adapt to removal of QueryDefinition::username
Allow only operation READ on QueryResults
Add tests for checks on Query{Result,Definition}s
Impl. alternative for QueryDefinition::username

Instead, runQuery() takes an extra argument with the username.
Merge pull request #45 from thehyve/permission_checks

Implement access checks for QueryResult creation and retrieval