Change the InvalidEntityException to be a HTTPException that returns a BAD_REQUEST (400) when the entity could not be validated.
Updated the InvalidEntityException to report the errors list in the HTTP response message.