Stable iterators for DiffSets.
Add tests around use of CopyOnWriterAfterIterationHashSet
Revert fix to MergeNodeAction now that the underlying cause has been fixed in kernel
Added relevant PaxosInstance logging
Formattting fix for shell docs.
Merge pull request #1693 from boggle/2.0.1-cow-diff-sets

[AFTER GA] 2.0.1 cow diff sets
traversal for constant direction

Implementing a PathExpander ensuring that relationship direction will be constant along the path.
The first relationship determines the direction to follow for all subsequent steps.
Relates to http://stackoverflow.com/questions/20654988/directed-paths-in-neo4j
Sends booked instance payload for repropose after rejectPrepare

this will fix an issue where there were a null payload when reproposing an
instance.
applying codestyle
tidying up and fixing tests
tidying up and fixing tests
Switches to master role in a separate thread

just like the switching to slave. This is done because switching to master
used to happen in the same thread handling the state change, directly from
the state machines (via a state change listener). The state machines
framework is designed such that handling and processing of messages must
be instantaneous. No waiting or costly operations should occur as part of
handling a message, since such will block all other state machine message
handling from occuring.

With this change a switch operation will be scheduled and started in the
very near future, but executed by another thread so that the actual state
transition handling is quick.

The issue this fixes is that heart beats were blocked during a master
switch so that after a master switch was completed and the new master came
up there were immediately suspicions against it and some rather
unnecessary switching occuring as part of it.
Merge pull request #1740 from sarmbruster/constant_direction_expander

traversal for constant direction
Merge pull request #1741 from tinwelint/2.0-reject-prepare-fix

Fixes two clustering issues causing temporary or permanent absence of master