neo4j/neo4j — pull request #758 by systay (2013-05-05 18:10:22+00:00)
Title: Makes a graph database give a helpful message when it's been shutdown

* Removed throws IOException from NeoStoreXaDataSource constructor, because it's not true
* Made ThreadToStatementContextBridge implement Lifecycle so it's told when to shutdown
* Kernel keeps track of shutdown state and throws appropriate exception when used after