Merge pull request #35 from kxepal/normalize-access-to-session

Move session, login and logout methods from Resource to Account
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