neo4j/neo4j — pull request #2833 by lutovich (2014-08-11 15:31:47+00:00)
Title: Fixed lock ordering for StoreApplier and IndexApplier

This PR fixes the problem with lock release ordering in ```CommandApplierFacade#close```.
With wrong ordering it was possible for the ```IndexPopulationJob``` to see uncommitted nodes/labels. This could cause duplicates in non-unique index.