Handle exceptions during callback handling

Quite a big change, but I don't think it can be done correctly in a smaller fashion.  Basically, you're now guaranteed that the error-handler will fire if there's an error.  At the moment, if the server returns JSON and it's expecting EDN, absolutely nothing happens.