improved querying for type filters MID-1881
Merge branch 'master' of github.com:Evolveum/midpoint
fixed MID-1881 tests for security are enabled now.