Partial PostResource class
Updated for NoSuchEntityException mapping to 404 and basic PostResource
functionality.