cli: fix pylint which poisons jenkins output
Re-order the imports according to PEP 8, and put them on top of the
module. Drop one unused import. Re-order the imports alphabetically,
but keep six first per wrong-import-order message:
third party import "import six" should be placed before "import requests"
Fix line-too-long warning.