Rest testing framework

The test incorporates some of the "framework" that I had created and seeks to add a majority of the tests for USERGRID-1046.