[FIX] XQuery, Collations: starts-with code revised
[FIX] XQuery, map tests
[FIX] XQuery: permission test (ideally, sleep(...) should be removed)