Changed version to 4.0-SNAPSHOT in preparation for the 4.0 releases.
Fixed tests which assert repository version (was 3.x is now 4.x).
MODE-1683 Implemented journaling functionality backed by MapDB.
MODE-1683 Updated clustering and implemented delta-reconciliation mechanism for journals.
MODE-1683 Updated the EAP kit to include support for journaling.
MODE-1683 Added a locally stored journalId which is also present on the changeSet instances and which is used as an identifier in the clustered cases instead of the processId, which has a different value each time.
Ignored failing test
MODE-1372 Updated the internal Change events and ChangeSet(s) to contain the primary type and the mixin types of the node involved. Also, update the ModeShape Event API to expose this information as per the JSR-333 spec.
MODE-1683 Created a time-based sequence

Added a time-based, non-monotonically increasing unique sequence of long values that
can be used in the journal as primary keys for JournalRecord instances so that:
1. they are ordered based upon the sequence in which they arrive
2. we can find the JournalRecords that were added within some time range
MODE-2081 Changed the license for ModeShape code to ASL 2.0.
MODE-2081 Changed the license for ModeShape code to ASL 2.0.
MODE-2081 Changed the license for ModeShape code to ASL 2.0.
MODE-1683 Simplified message consuming & receiving; updated delta reconciliation implementation and MapDB version to 0.9.8.
MODE-1683 Added a method for retrieving the last record of a journal. Changed the signature of the methods which used long timestamps to use DateTime(s) and removed unnecessary conversions to UTC.
MODE-1683 Changed from normal timestamps to time-based keys and updated various other parts of the code based on code review.
MODE-2143 Changed the default networking stack of ModeShape build to prefer IPv6

Changed the default networking stack to prefer IPv6, except in the
"integration/modeshape-jbossas-integration-tests" module that uses Arquillian
(which is limited to IPv4 on Windows; see JBPAPP-9281 for details) to run
EAP on IPv4. In that module, we also have to force our tests to use IPv4.
MODE-2041 Corrected numerous compiler warninings, JavaDoc errors and warnings, and removed
quite a few JavaDoc comments that are inherited via @Override.
MODE-2041 Corrected several Maven warnings by putting more of the test artifacts into the parent POM.
MODE-2041 Added an empty 'relativePath' to the parent POM to eliminate errors
MODE-2163 Removed apache.avro dependency from embedded bom and modeshape-parent. However, for this to be possible Cassandra had to be updated to 2.0.3. Also, since changing to JDK7 a number of tests which did not clean up their data were exposed. This commit fixes those as well.