Remove dead code
Remove unused properties
Remove unused property
Remove unused property
Remove unused class
Improve resolution of current user

The current user has to be available to transmart services in several
distinct contexts. Probably, it would be preferable to have it
available only in a request thread and do the all the necessary checks
against the user in the request thread. But, as it stands, we also
need to have the user available in other contexts, like the quartz
thread used in exporting.

Consequently, currentUserBean is now implemented using a proxy factory
bean (CurrentUserBeanFactoryBean) that returns a proxy that delegates
to other beans, trying them in order (typically each one is bound to a
different scope).

This commit adds a quartz scope, specifically to cover the export
jobs. A quartz scoped bean for the current user is added in
resources.groovy as well. The currentUserBean returned proxy tries to
delegate, in order, to the request scoped bean, then to the quartz
bean, and then to whatever other beans happen to be registered with
CurrentUserBeanProxyFactory::registerBeanToTry().
Add checkQueryResultAccess() method

for checks of access to result instance ids in legacy code (understood as
meaning 90% of the project).
Sprinkle access checks all over the place
ws
Fix unit test
.travis.yml: use $(travis_get_owner)
Merge 61cd5cf1665eda4ae82fcdbcc21ed82fd128eafb into e830fdcaf6417baaa1a01ce0a3b1eff5f945f653
Misc fixes for PR #59
Add comment to CurrentUserBeanProxyFactory
Merge pull request #59 from thehyve/rid_check

Check ownership of result instance ids