fixed wrong length parameter
cleanup of indexes, fix for compaction (hash, cap, geo, skiplist, pq, bit-array)

Conflicts:
	arangod/VocBase/compactor.c
	arangod/VocBase/document-collection.c
	arangod/VocBase/synchroniser.c
	lib/BasicsC/memory.c