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.