baseresource feature and associated tests

please note that the changes made to files other than `baseresource.java` and `baseresourcetest.java` were simply to mitigate any compiler errors. `answersresource.java` and `formsresource.java` both have their own topic branches that will be PR'd once this lands.

changes to `baseresource` include new instance fields to aid json creation and parsing and new instance methods for CRUD'ing data in redis.