[ADD] XQuery, Database Module: indexing options added. Closes #700