Align mock api and tidepool api error handling

- Use the `{status: Int, response: String}` convention from the api
  libraries (mock and tidepool)
- On the UI side, can check `err.status` to display custom message