turned assertions into ifs
removed debug output
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel