Bugfix for checkuser.xql.
Minor Code cleanup in sharing.xqm.
Added xquery 3.0 definition in retreive-vra.xql
added style class for images in thumbnail-generators in session.xql
bugfixes and inserting missing functions from testserver-instance