PEP 8-ify imports; fix requests import for non-XBMC

XBMC renames requests to requests2.