Update twitter.py

Replace newlines with space, looks nicer
near: add 'miles' option
Modified http util to support additional headers

Inverted some header logic

Removed user_agent and referer from http, in favor of headers dict

http: formatting

http: Fixed missing part in conditional