Added script for running consistency checks on database

If neo4j is running and has the store open, the tool aborts and requests that the server be shut down.
If the store is not in use, the tool does a consistency check and outputs the results to stdout.