wrapper for errors on superagent json requests

for #207 

<!---
@huboard:{"order":208.0,"milestone_order":208,"custom_state":"ready"}
-->

I think I would prefer not to, an error either from the server or the client should always have an error code (400-500). I'm not sure if we have the need