Add certificate support

Add support to pass a certificate through to httplib2 so that you can
connect to servers with self-signed ceritificates.

Bonus fix of adding __repr__ method with json.dumps() for cleaner
transaction logging.