fixed error handling for extension/clob querying.
Merge branch 'master' of github.com:Evolveum/midpoint