Properly closes http client to avoid single-connection conflict
Changes to better support Neo4j Desktop app

o Specifies service classes instead of packages to JAX-RS. Specifying
  packages requires JAX-RS to scan the classpath and doing that makes it
  more sensitive to environment changes... such as running the whole
  application inside a wrapped .exe file.
o Changes so that Configurator#getDatabaseTuningProperties() is always
  honored. This makes it much easier to pass in any Configurator implementation.
o JAX-RS ServletHolders gets created after all modules have registered all
  its service, since multiple modules might register at the same mount point.
  This problem became apparent due to the classes/packages change above.
Merge pull request #949 from tinwelint/desktop-server-changes

Changes to better support Neo4j Desktop app
Extra debugging output, some useless field removal, tcpNoDelay added
Fixes responding to internal messages, having it handle the headers properly
Fixes case where single HA instance would perpetually try to elect a master

When an HA instance is alone in the cluster, it will try to contact every
 other instance (i.e. none) for votes and, since by default it holds the master
 role itself, being the only instance, it will wait for the first response
 to come before asking itself. But a response never comes, so the election
 time outs, rinse repeat. This commit fixes that.
It also introduces a test case that demostrates the problem.
Finally, it refactors the ElectionContext to not require delegation
 from ElectionState method calls, making mocking easier.
Ignores insubordinate test, to be reviewed later
Now works with HTTPS as well
Revert "Now works with HTTPS as well"

This reverts commit d57b3f6a4a1e3ddca01ac4c4acc2c5a61a924f7e.

Reverting because the fix was already present but was not being picked up
 due to the way versioning is setup currently.
Remove flaky test

This test never fails, except when the locale isn't i18n.
Update deprecation text
Merge pull request #954 from chrisleishman/deprecationupdate

Update deprecation text
fixes concurrency issue due to shared instance variable for JsonGenerator #955
fixes #961 wrong content-encoding instead of content-type charset=utf-8
Check if server can be started before starting it for server tests

Make the error message a bit more explicit if there is already a neo4j instance
running on localhost:7474
Merge pull request #963 from mneedham/server-check

Check if server can be started before starting it for server tests
Only write out modified persistence windows (AbstractPersistenceWindow only).
Merge pull request #965 from dmontag/1.9+only-write-dirty-windows

Only write out modified persistence windows.
Don't set Content-Encoding to UTF-8. If anything it should be in Content-Type
Wait for cluster to be available first