Backport of fix: Made sure that auto-indexing removed graph elements from indexes when they are deleted

Conflicts:
	community/kernel/CHANGES.txt
	community/kernel/src/main/java/org/neo4j/kernel/impl/core/NodeManager.java
Fixes #395 - ThisShouldNotHappenError for certain patterns