Base Resource Class and Tests
Moved mocks around.
Added Search Object
Refactored Resource object to support multiple authentication methods
Merge remote-tracking branch 'origin/master'