issue #565, plus a few usability fixxes for aal.search()
fixed jslint warnings
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel