Fixed scripting tests.
Merge branch 'master' of github.com:Evolveum/midpoint
Fixing broken sanity tests.