[ADD] XQuery: inspect:functions(uri). Closes #872
[MIN] merged