[ADD] Issue #873: support for both updates and returned items #873
Merge branch 'master' into issue873
Merge branch 'master' into issue873
[MOD] XQuery: optimize detection of updating queries
[MOD] XQuery: refactoring of query resources (preparing #878)
[MOD] XQuery: adopt updates and outputs from parent query context
[ADD] XQuery, xquery:update() (#878)
[MOD] XQuery: generalized handling of external query resources;
      can also be used to close MongoDB and other connections
[MIN] Tests: some more sandboxing
[FIX] XQuery, #873: raise dynamic error for non-updating expressions
[MOD] Merging with master
[MOD] XQuery: ONLYUPDATES → MIXUPDATES
Merge branch 'master' into issue873
[MOD] Merged with master
[MOD] Merged with master
[MOD] Merged with master
[MOD] Merged with master
[MOD] XQuery, Inspection Module, MIXUPDATES=true: allow updating funcs
Merge branch 'master' into issue873

Conflicts:
	basex-core/src/main/java/org/basex/query/func/FNDb.java
[MIN] GUI Editor: darker color for highlighting of matching parentheses