replaced throwing of strings by real objects
fixed error handling
fixed error messages and tests
Merge branch 'devel' of github.com:triAGENS/ArangoDB into HEAD
safer string building