[FIX] XQuery, union type of maps and arrays; tests
[MIN] XQuery, trace(), prof:dump()