Minor formating.
Merge branch 'two-dot-o' into optimistic-tx-semantics
First stab at optimistic verification
Merge branch 'two-dot-o' into optimistic-tx-semantics
Progress on optimistic verify and test.
Merge branch 'two-dot-o' of https://github.com/GERey/usergrid-1 into two-dot-o
Merge branch 'two-dot-o' into optimistic-tx-semantics

Conflicts:
	stack/corepersistence/collection/src/main/java/org/apache/usergrid/persistence/collection/guice/CollectionModule.java
	stack/corepersistence/collection/src/main/java/org/apache/usergrid/persistence/collection/impl/EntityCollectionManagerImpl.java
shell of a WriteOptimisticVerifyTest now in place, but it does not really test anything.
Merge branch 'two-dot-o' into optimistic-tx-semantics

Conflicts:
	stack/corepersistence/collection/src/main/java/org/apache/usergrid/persistence/collection/guice/CollectionModule.java
	stack/corepersistence/collection/src/main/java/org/apache/usergrid/persistence/collection/impl/EntityCollectionManagerImpl.java
Separate WriteOptimisticVerify test into to parts, one Theories part and one Jukito part.
Use mocks instead of real live serialization strategy.
Merge branch 'two-dot-o' of https://github.com/usergrid/usergrid into two-dot-o

# By Dave Johnson (64) and others
# Via Dave Johnson (18) and others
* 'two-dot-o' of https://github.com/usergrid/usergrid: (207 commits)
  Rename test and add couple more query tests.
  Adding Apache license header.
  More progress on EntityCollectionIndex and tests.
  Use version properties everywhere, define them only in parent.
  Progress towards getting more query tests running.
  More refactoring and removal of unnecessary code.
  More refactoring and removal of unnecessary code.
  Remove classes not needed for query parsing.
  Added cache declaration to column family meta data
  Rename index to query index, add working query parser code.
  Initial commit of the async processor
  Composite ID creation and parsing and some test improvements.
  Refactored to avoid the need to copy for mark check
  Added buffering to ensure we have less chatter with cassandra
  Added validation with time UUIDTest and verified existing impl.  Needs to use new batch for filtering
  Remove unnecessary method.
  Remove redundant code and test.
  Added version property, did some refactoring / renaming and added a larger data set.
  Basic indexing of entities working, more tests needed.
  Progress on EntityIndex tests and impl.
  ...
Added a toByteBuffer method using Smile.
Found out that I was using a wrong format. This build still has errors though, so not for review.
Now pulling the version from the byte buffer.
Merge branch 'two-dot-o' of https://github.com/usergrid/usergrid into binary_serialization

# By Dave Johnson
# Via Dave Johnson
* 'two-dot-o' of https://github.com/usergrid/usergrid: (31 commits)
  Correcting document type generation because . , _ # and | are not allowed.
  Adding some issues to README.
  Still working on debugging IndexIT tests.
  Update README.md
  Update README.md
  Informative README for Query Index module.
  Eliminate redundant class.
  Add test for deindex() and ignore two problematic tests.
  Don't need the ElasticSearchRule
  Support for non-embedded ElasticSearch
  Ignore ANTLR output.
  re-enable ANTLR plugin.
  Enable testCollectionOrdering() test, also: use more specific exceptions.
  Enable another test, and make tests use different collection names because they were interfering with each other.
  Package re-org.
  Cursor support complete.
  Simple stress tests.
  Re-organize test packages.
  More GeoIT tests working.
  Basic geo queries working as well as part of one of the GeoIT tests.
  ...
Merge branch 'two-dot-o' of https://github.com/usergrid/usergrid into binary_serialization

# By grey (34) and others
# Via Dave Johnson (7) and others
* 'two-dot-o' of https://github.com/usergrid/usergrid: (93 commits)
  Update to reflect current state of Query-Index module.
  Use validation utils to validate entity and scope.
  Strip down the Results class to bare essentials.
  99 of 100 tests passing in query-index module, one skipped because no connection support yet.
  Adding 43 more legacy tests for query-index for total of 100 (7 are still failing).
  Ignore two-dot-o's ignored files.
  Better stress test for EntityManagerFacade.
  61 tests passing, 3 tests skipped.
  Renamed PR to match org.apache
  Ignored file creation tests as they are not always deleted for unknown reasons.
  Added license file headers to all new files.
  Removed ExportInfo and all mentions of it in the code.
  Fixed bug where timestamp was only instantiated only once.
  Added error checking to rest endpoint, with test cases for each exception thrown. Renamed returned entity from export job “Export Entity”
  Fixed collections bug, fixed all tests to prepare for removal of ExportInfo.
  Fixed s3 cloud exporting functionality. Fixed and retested integration test to make sure.
  Made blanket changes to remove ExportInfo to support serialization of export information.
  Fixed all tests, and code. Tomcat issue still persists.
  Added test to avoid collisions in management service, but didn’t seem to work for a certain test. Currently ignored. Made errors clearer in for rest endpoints. Added map code to try to fix Tomcat runtime error, but didn’t fix the issue. Added exportJob as a beanie.
  Removed OAuthResponse to simplify code. Created test for new error checking in ExportInfo.
  ...
Merge branch 'two-dot-o' into optimistic-tx-semantics

Conflicts:
	stack/corepersistence/collection/src/main/java/org/apache/usergrid/persistence/collection/impl/EntityCollectionManagerImpl.java
	stack/corepersistence/collection/src/test/java/org/apache/usergrid/persistence/collection/guice/TestCollectionModule.java
Fix broken test.
Operation specific exception types.
We now cleanup and unique values on version conflict; also, added better tests for optimistic and unique verification.