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.
Fixed problem with dependencies inside foreach statements being reported wrongly
Refactoring around TypeSafe methods
Fixes problems when updating a graph element with a map containing null values
fixed compile and test issues with openjdk-6 and 7
Merge pull request #337 from jexp/openjdk

fixed compile and test issues with openjdk-6 and 7
Imports
Refactored Property

     - Refactored Property to not have to know how to get the identifier from
       the context, and instead it now used the Identifier expression to get
       to the identifier.
Added the AstNode trait

    - Internal refactoring. Added the AstNode trait, which makes it easy to
      visit all nodes of the Query Abstract Syntax Tree. It also allowed for
      removing lots of duplicated filter methods.
Made StartItems implement AstNode

    - Internal refactoring. Needed to shuffle around stuff around CreateNode
      CreateRelationship. Will probably revisit.
    - Also start of the code to calculate the max size of the map needed. More to follow
Merge remote-tracking branch 'systay/dependencies-inside-foreach' into cypher
Fixes problems when updating a graph element with a map containing null values
Refactored Property to work on Expressions
Introduced ASTNode as common trait for query parts
Made (Updating)StartItems also implement ASTNode
Modified documeted WrappingNeoServer test to not use InternalAbtractGraphDatabase in its example.
Fixes #336 - Patterns that re-use a pattern node can produce non-existing matches
Added performance framework back to build after looking over licens issues
Merge pull request #297 from Gekkio/master

More robust Java detection on Windows (32-bit JVM on 64-bit Windows, etc)
Improved JVM locator code
Adds to ClusterManager the ability to have separate configs per instance
Rewrites TestPullUpdates to use ClusterManager