Fix imports

Use relative imports for package's modules
Fix import urlparse for Python 3.x
Remove unused imports
Support Python 3.x
Fix too weird formatting
Fix JSON decoding for Python 3.x
Merge pull request #32 from kxepal/python3

Fix declared Python 3.2+ support