wrapper for errors on superagent json requests

for #207 
Would be perhaps want to add a 3rd level for application-defined errors, i.e. `if (res.body.error) ...`?