Make .netrc 0600 in tests to fix python-2.7.5-8's netrc happy.
Use osutils.chmod_if_possible as raised during review.
Fix pep8 warnings: unused import, unused variables, shadowing variables.
(vila) Make .netrc 0600 in tests so python-2.7.5-8's netrc is happy.
 (Vincent Ladeuil)
Stricter checks on configuration option names
Stricter checks on configuration option names
(vila) Stricter checks on configuration option names (Vincent Ladeuil)