Validate claims in ApiResponse

- Verifies 'correct' param is null or boolean
- Checks that remaining claim params are set
- Dies with error message  on invalid claim

Change-Id: I7c0796219bd8b842e7207f6f8a5dec380f576287