Replaces use of urllib with requests.

This adds python3 support.
Travic config updated to test on python3.3 and to install dependencies.
requirements.txt added to declare dependencies.