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