Used named argument to avoid TypeError: __call__() takes exactly 1 argument (2 given)
use relative import in oauth2.py for auth
Added a json format option

This addition allows the user to get the raw json tweet information from each row. This is helpful when the twitter json format is needed by another process.

Example usage: `twitter --format=json -r friends`
Merge pull request #178 from dkanygin/master

added timeout option to TwitterStream
In case of low tweet volume, we now can timeout and exit iterator to update search query or other housekeeping tasks.
Merge pull request #185 from cegme/json_status_dump

Added a json format option
This addition allows the user to get the raw json tweet information from each row. This is helpful when the twitter json format is needed by another process.

Example usage: `twitter --format=json  friends`

This would get the latest tweets from friends in the raw json format. That json can be ported into another process or another database for processing.
Add missing json import.
Merge pull request #183 from iiSeymour/patch-1

Used named argument to avoid TypeError
Named argument is needed to avoid: `TypeError: __call__() takes exactly 1 argument (2 given)`
Merge pull request #184 from MrMitch/relative_imports

use relative import in oauth2.py for auth
Changed: 
```py
from twitter.auth import Auth
```

To:
```py
from .auth import Auth
```

in `twitter/oauth2.py` to match import usage made in `twitter/*.py`
fallback to simplejson.
Version 1.10.2.
Make universal wheels.
Do not send gzip header for streaming calls

Twitter is moving all of its APIs towards HTTP1.1.
https://dev.twitter.com/blog/deprecating-http-1.0-streaming-api
Userstream passed already mid-november and has been borken for this lib since
On Jan 6, Twitter will apply it as weel for all the other stream methods,
meaning they probably would be all broken.

The problem was in two pieces.
First with this commit, we stop asking for gzip encoded data for streaming
calls: for the HTPP1.0 calls, this was not taken into account anyway, but with
HTTP1.1 the answer is now chunked and should therefore not caught zipped.

(First part of fix for userstream and soon all streams cf #190 #116)
Parse http1.1 chunks to find json

Chunked data sent via HTTP1.1 by Twitter is not as straight forward to read,
chunks indicating size of tweets are present no matter what, so we find the
json start in the buffer and forget the rest for now.

(Second part of correction for userstream and soon all streams. Fix #190 #116)
Respect "delimited" argument from Streaming API

Instead of trashing it as in previous commit, return the sizes of the messages
sent by the API as regular messages if requested through the normal API
argument 'delimited=length'
https://dev.twitter.com/docs/streaming-apis/parameters#delimited

(Last part of userstream and other streams fix)
Fix blockedcalls on lowtraffic stream with timeout

When running a stream with a low traffic, the current timeout logic was
hanging indefinitely without processing.
This rewritten logic seems to be working fine now with both http1.0 and 1.1
and active or low traffic.

@dkanygin: would love to get your code review on this (cf #178)
Syntax
Fix missing TwitterHTTPError in Streaming

The existing error was never reached, luckily since it was using
undefined arguments. moved it in its right place and added handling
ssl errors as TwitterHTTPError.

(Fix #136)
Use POST for all methods requiring it in specs

Added all missing methods from https://dev.twitter.com/docs/api/1.1
Also included some of the streaming methods which work with both GET
and POST but accept arguments like "track" which can quickly require
POST.

(Closes #187 #145 #188)
Keep gzip for other methods than streaming

Oups, the default for all other methods should be True, not False
Fix broken follow create/destroy in cmdline & bot

Adapt argument calls to the intended behavior

Fixes #177 #192 #126 #10