Correct returntype from json_from_request on error

What json_from_request() actually returns on error is a tuple, not a
Response object
Implement PUT in SingleTapAPI
Style: Double newlines between classes
Docstring updates