Added entity_info to the BaseRestService.
Reworked formatEntities() to be entity agnostic.
Reworked setRequirements to be entity agnostic.
Reworked the RestService model to be entity agnostic.
Added more sophisticated caching headers.