upgraded netty and refactored netty resource management
Merge remote-tracking branch 'upstream/master' into netty363
move timing from cypher to shell
Merge remote-tracking branch 'upstream/master' into netty363
adding explicit call to free resources in channel factory
Merge pull request #677 from lassewesth/netty363

upgrade to netty 3.6.3
Unused imports.
Removed use of EmbeddedGraphDatabase and replaced with GraphDatabaseFactory. One technical debt down, thousands to go.
Catch classcast and report as illegal argument
Merge pull request #713 from jexp/master-move-timings-from-cypher-to-shell

move timing from cypher to shell
Changes logging of GCR to debug, on an appropriate logger
Formatting, splitting long lines
Bump doctools version to get correct github links.
Changes in lifecycle ordering, getting network to be the last to close on shutdown