[MOD] XQuery: Use `return` instead of `throw` for tail-call elimination.
[MOD] Separate tail call into separate method.
Merge pull request #871 from LeoWoerteler/ret-tco

No More Exceptions for Tail-Calls