Remove requests lib because of versions issues.

Fix stuff to comply to PEP8.
Fix omission for warning
Fix some cosmetic stuff.
Force to use python2 because urllib changed too much in python3.