[FIX] XQuery: repeated call of exhausted iterator. Closes #909
[MIN] XQuery: test for #908 added
[FIX] XQuery, GH-907: Correct inlining for FTDistance.
Merge pull request #910 from LeoWoerteler/gh-907b

[FIX] XQuery, GH-907: Correct inlining for FTDistance.
[MIN] XQuery, SQL Module: adding Util.debug()
[MOD] Escape newline characters in Str#toString().
Merge pull request #911 from LeoWoerteler/one-line-str

[MOD] Escape newline characters in Str#toString().
[FIX] XQuery, XQUnit: NPE in FNUnit#opt(...).
[MIN] XQuery: better error feedback
Merge pull request #912 from LeoWoerteler/unit-npe

[FIX] XQuery, XQUnit: NPE in FNUnit#opt(...).
Merge branch 'master' of github.com:BaseXdb/basex