Standardise error handling

- 400 errors would pass through some functions
- Extraneous panic() on error
Merge pull request #279 from sweeney/kinesis_error_handling

Standardise Kinesis error handling