Port to Python 3

- Update Travis-CI config
- Update python paths in source files
- Patch source files using 2to3
- Fix toolbox bug to pass new exception type from urllib2

Close #13