style_check_and_fix: git hook to run autopep8 + automatic import reordering

usage:

for one file:
echo master/buildbot/process/buildstep.py | common/checkfiles
for all files:
find . -name \*.py | common/checkfiles

as a git hook:
cp common/hooks/post-commit .git/hooks

After you do your commit, the script will run on the modified files
You see the results in the terminal, you can review it, and amend your patch

Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>
fix WS error not fixed by autopep8

PRE_PEP8_COMMIT

Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>
autopep8

POST_PEP8_COMMIT

Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>