urllib: fix urllib handeling in python 2 and 3 closes #1286
Merge pull request #1316 from kivy/py2_urllib

urllib: fix urllib handeling in python 2 and 3 closes #1286