Fixed JSLint and started implementing elaborate chaining tests
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel