Fixes for Python 2

Now importing each name explicitly.

Sadly in Python 2.7 you cannot use with urlopen(...):
http://bugs.python.org/issue12955