removed relative imports and importing urlparse from urllib.parse for py3+
Merge pull request #465 from a-tal/master

removed relative imports and importing urlparse from urllib.parse for py3+