Fix: Better JRE detection in Windows

1. Looks for both 64-bit AND 32-bit JREs

2. Works with all JRE directory names
The old version assumed that there is exactly one space character in the
name (e.g. "C:\Program Files\Java\jre7")
32-bit JDKs/JREs are installed to "C:\Program Files (x86)\Java", which
has two spaces. Also, Java can be installed to a custom directory, so
the single space char assumption is not a good idea.

3. Console command uses the detected Java instead of "java" from PATH.
Introduce NEO4J_CONFIG and NEO4J_LOG vars

It will ease the job of package maintainers
Lifecycle changes

IAGD now instantiates XaDSManager before the TxHook
The above allows stuff to be instantiated at any order in HAGD. ClusterClient and HAMSM are added to life
  as soon as they are created
Some listeners are removed on shutdown, removing unwanted exceptions
Tests cleaned up - TargetDirectory usage and some additional testing added
TEMPORARY!!!!!
Attempt at getting the mode switching to be in the same thread as the event handling
Properly loop while switching to slave, with associated retry count
Introduces ZooKeeper compatibility layer. DOES NOT ENABLE ROLLING UPGRADES.

Adds classes required for supporting rolling upgrades from 1.8
Adds a test for rolling upgrades and supporting classes
Minor fixes around lifecycle
Align modules in mvn output.
ClusterClient feeds proper logging to NetworkInstance
Prints one exception with all lock release failures in the event of such, instead of spamming with one for every relesae failure
Serialization issue
Synchronizes start/stop to avoid concurrency issues. A proper fix would perhaps be to put this in the Lifecycle handling itself... but for now
Updated license information.
Merge pull request #300 from mamciek/master

Introduce NEO4J_CONFIG and NEO4J_LOG vars
Fixed snapshot synchronization
Passes in Logging so that each instance grabs its correct logger from it
Revert "Reverting the performance tests added recently until it builds cleanly"

This reverts commit eee333a05dfefec39ea8c7b79758caccaf0c2fc1.
Introduced performance framework, sans memory profiling this time.
Improved examples for performance-framework
Removed performance-framework from build temporarily
Makes OnDiskLastTxIdGetter report -1 if a store is not present

This is possible when starting up and an election is happening - we need to recover from that