changed implementation to use freelists
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel