bugfix wrong return codes
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel