some refactoring of document CRUD operations
some cleanup
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel

Conflicts:
	arangod/VocBase/document-collection.c
typos