MID-1780 partial fix, complete query implemented, but as it may be slow, it is disabled at the moment. Fixed few small issues when moving org. unit as well.
Merge branch 'master' of https://github.com/Evolveum/midpoint