Add instrumentation for API calls
Add instrumentation for API calls

By raising errors, we'll get sentry to pick them up.

We're also adding timing, and adding error codes to graphite to allow
us to track them.

alphagov/frontend,alphagov/frontend,alphagov/frontend,alphagov/frontend