[FIX] XQuery, QT3TS: format-date, ISO formatting
[MOD] XQuery: functions fn:for-each() and fn:for-each-pair() added;
      will replace fn:map() and fn:map-pairs()
[FIX] XQuery, QT3TS: format-date: EQName syntax for $calendar argument
[FIX] Core, Locking: Deadlock after downgrading from global write lock
Merge pull request #693 from JensErat/downgrade-fix

[FIX] Core, Locking: Deadlock after downgrading from global write lock