Base Resource Changes

This pull request removes project-specific code from the base resource class, and adds common REST API methods.