[ADD] Test for inlining nested closures.
[OPT] XQuery: Inline nested closures, better performance for functional abstraction.
Merge pull request #1049 from LeoWoerteler/inline-nested-closures

Inline Nested Closures