'Runs an HTTP request and pretty prints the output.
Args:
method: HTTP method
path: Relative path
data: Raw JSON data if any
query_params: dict of query parameters to add to the url'

@defer.inlineCallbacks
def _run_and_pprint(self, method, path, data=None, query_params={'access_token': None}, alt_text=None):

    url = (self._url() + path)
    if ('access_token' in query_params):
        query_params['access_token'] = self._tok()
    json_res = (yield self.http_client.do_request(method, url, data=data, qparams=query_params))
    if alt_text:
        print alt_text
    else:
        print json.dumps(json_res, indent=4)
