Clean up error reporting in API

If the error is a CFSSL error, display it in the API response with
an http 400 status.
Merge pull request #53 from cloudflare/nick/api-errors

Clean up error reporting in API