Add error callback for raw data

### Need
Besides success callback, we need to have an error callback for errors in raw data. 
This is currently needed in #7849 . 

### Solution
- [x] add erorr callback that triggers an error event.

### Files changed
- thehole/app/core/raw_data.coffee 


cc @aismail