Handle redirection in the case of only a single result.

Also properly construct the query parameter when submitting the search
query.

Fixes #2, See #1
Rename .gatherer to .tg for brevity.
Minor code style improvements
Merge pull request #3 from thsnr/gatherer

Merge additional gatherer modifications