added ensureIndex function
ensureIndex
Merge branch 'sharding' of https://github.com/triAGENS/ArangoDB into sharding