Add error handling hooks for when data fails to load.

ApiData's callback can now be passed an error object,
which gets passed forward to the chart rendering code.

Fravic can now implement some sort of error indicator.

Reviewer: fravic (git grep 'Fravic error')
Reviewer: raymond