Added new basis of rest test framework using cleaner api's to manage the Resources. Currently Added is the bare minimum need for modeling rest tests, but missing is the Jersey integration so that we can send the calls out. Next step is to comment and get the JerseyTest framework working within this testing framework. This is a clean commit before any integration so here is where you would start to build in a different framework. Added license header to all new files.
Added new basis of rest test framework using cleaner api's to manage the Resources. Currently Added is the bare minimum need for modeling rest tests, but missing is the Jersey integration so that we can send the calls out. Next step is to comment and get the JerseyTest framework working within this testing framework. This is a clean commit before any integration so here is where you would start to build in a different framework. Added license header to all new files.
Added new jersey2 to framework, still not integrated yet.
Added top level comments to what the classes are generally for. Needs to be cleaned up and clarified as time goes on.
Added the jersey 2 framework to the rest pom for use.
Changed the name of the Client to the RESTClient in order to avoid conflicts with the Client in jersey2
Moved the ManagementResource to its own folder.
Added the WebTarget and Client to the RestClient to start building out jersey2 compatibility.
Added AbstractRestIT for class compatibility but should probably be merged into the rest client.
Made the DumbClient a test class to check that path building with the new jersey stuff works. ( it does! )
Tore out a lot of old things that were in the AbstractRestIT class.
Removed all instances of jersey 2 package and code.
Got paths working for the resource just like they used to work with Jersey 2.
Cleaned up some of the old jersey 2 code. Revamped the separation of concerns for files and added in a WebResource so that the appropriate calls can be made.
Added ability to create new Organizations.
Added getResource to RootResource as stub.
Added example of path in UrlResource
Reworked to have separate org endpoint and made the Organization Resource be a separate part. that only works on the orange endpoint.
Moved TokenResource to highlight that it is a management endpoint.
Merge branch 'two-dot-o' into UG-rest-test-framework-overhaul
rat check: add headers
Organization Changes
added in testContext and AbstractRestIT to handle client setup.
Added in post in to setup owner and organization.
Merge branch 'UG-rest-test-framework-overhaul' of https://git-wip-us.apache.org/repos/asf/incubator-usergrid into UG-rest-test-framework-overhaul

# By Shawn Feldman (19) and others
# Via Todd Nine (5) and Shawn Feldman (3)
* 'UG-rest-test-framework-overhaul' of https://git-wip-us.apache.org/repos/asf/incubator-usergrid: (34 commits)
  rat check: add headers
  Removed subscribeOnCalls
  move method back to entityindex
  add caching to indexes
  add caching to indexes
  add caching to indexes
  add observable to refresh
  fixed abstract class name
  Fix in original value test logic.
  fix gcm
  fix apns
  remove queue manager
  add comment
  if there is no alias then use the index
  fix tests
  Ignore two migration tests awaiting fix for USERGRID-268
  get indexes for alias
  Add enum to prevent mistakes in naming
  fix deletes so we remove from all
  Ignored awaiting fix for USERGRID-267
  ...
Merge branch 'two-dot-o' into UG-rest-test-framework-overhaul
Used jackson to deserialize organization and response into the dynamic entity properties.
Made collection abstract class for other collections that will use it ( User collections, Roles collections)
Merge branch 'UG-rest-test-framework-overhaul' of https://git-wip-us.apache.org/repos/asf/incubator-usergrid into UG-rest-test-framework-overhaul

# By Todd Nine
# Via Shawn Feldman (1) and Todd Nine (1)
* 'UG-rest-test-framework-overhaul' of https://git-wip-us.apache.org/repos/asf/incubator-usergrid:
  Fixes TokenServiceIT and bug in ManagementService counter test
  Fixes FB test
  Fixes OrganizationIT.  Suffers from same org->admin bug
  Fixes EmailFlowIT and creates utilities for testing.
  Fixes Creator test to use unique strings
  Fixes ManagementServiceIT
  Finished rule for use in tests and completed ExportServiceIT migration to the rule
  Updated maven config
  Finished first pass in core
apache headers
Removed variables and put everything into the dynamic properties.
Made it so that dynamic properties can be queried out to give the organization values.
Added way to get organization specific values out so that we don't get the entire response back.
Merge branch 'UG-rest-test-framework-overhaul' of https://git-wip-us.apache.org/repos/asf/incubator-usergrid into UG-rest-test-framework-overhaul

# By Shawn Feldman
# Via Shawn Feldman
* 'UG-rest-test-framework-overhaul' of https://git-wip-us.apache.org/repos/asf/incubator-usergrid:
  apache headers
Commented almost all of OrganizationIT to start trying to address one test at a time.
Added field for properties in our Organization model but currently not differentiated from regular properties and organization properties.
Removed some of the cruft from the dumbClientTest class.
Had the organization that gets sent in via post, create another organization object and a user object.
Created User object that is based off of the Entity class so that we can query User specific things that get returned from the ApiResponse.