fix/baseresource

- changed the static request and response entity fields to be instance fields. this fixes resource integration problems.
- changed the static gson field to disable html escaping. this fixes unicode escaped output in json documents.