Added logging file.
Defined call to /search/tweets.json as a function
Using '{!r}' in str.format() causes bug (ValueError); using '{!s}' resolves the issue. Why?
Added command line arg parser for 'search' method