[ADD] Core, Locking: Tests for database locking inside BaseX
Merge branch 'master' of git://github.com/BaseXdb/basex into locking
[ADD] Core, Locking: Simultaneously read&write-lock databases
[ADD] Core, Locking: Lock Downgrading support in DBLocking
[MIN] Fixed rare deadlock in locking test code
[FIX] Core, Locking: Fuzzy testing and fixed deadlock
[FIX] XQuery Update: removing buggy memory-saving optimization
[FIX] XQuery, JSON Serializer, output of element names. Closes #614
[FIX] Core, #613: .basexperm can now also be placed in the DB directory
[FIX] Commands, #616: include raw files in backups
[MIN] minor rewritings
[MOD] GUI, bidirectional support: initial "langright=true" flag added
[MIN] Core, Locking: Cleanup and small fixes

- enforce preclaiming locking
- use fair scheduling to prevent starvation
- some refactoring
Merge branch 'master' of git://github.com/BaseXdb/basex into locking
[MOD] Core, Locking: Disable database locking in GUI
[MOD] Windows GUI script: "start" keyword added
[MOD] Treat Mac similar to Windows: ignore case sensitivity
[FIX] XQuery, file:move(): respect case when checking for file existence
[MOD] Core: -q readded as official command-line flag
[MIN] -q readded to usage info