Added support for configure debugging level of httplib
First implementation of photo upload
Better handle remote API errors

The remote API can return a proper HTTP 200 OK response and then
setting error code/message in the json response.
Added code to raise a request.exceptions.HTTPError exception as
with 400/500 HTTP responses.
Updated tests to cover new code.
Readded commands for py27 in tox ini