namedtuple and Testing.

Use collections.namedtuple() as a return value instead of dict().
namedtuples are much more readable and durable in my mind.

Also, test urllib2 request and response.
Merge pull request #12 from daniel-star/pr-namedtuple-and-testing

namedtuple and Testing.