Added shutdown hook in NodeService again.
Moved shutdown hook registration from NodeService to Services class so that all services
will be shut down, added shutdown check to AgentService so that no exceptions are throw
when the system is shutting down. Fixed node and relationship migration from uuid to id
for Neo4j 2.0 support.