prevent endless connection attempts by arangosh
TRI_ASSERT
added test for renaming
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel