Better handling of CF API errors. When disabled by the CF admins, CF API does not serve valid JSON and neither does it use appropriate HTTP error codes, it just serves an HTML error page with status 200. Carrot now catches errors if JSON conversion fails and wraps it appropriately.
Better console logging of errors. Errors message are now clearly prefix with [Carrot] which should let users more easily see what went wrong.
The extension icon now indicates if there is an error on the ranklist page with a red "!".
Clicking on it, the popup shows the error message, or a prefix of it if it's too long.
Fixes #43
[Carrot]
which should let users more easily see what went wrong.