normalize errors and add .error(msg, ...) as BadRequest
Merge pull request #28 from segmentio/errors

normalize errors and add .error(msg, ...) as BadRequest