Better failure on non-json responses

Bitstamp's API is playing up at the moment, and returning a short HTML response rather than JSON.

The generic JSON decoding failure exception isn't very useful, and it also highlighted a bug that for non-json responses it could still result in this exception getting raised.