Cleaning up *.py files

- remove obsolete code
- glances_password: update comments and fix typos
- re-apply fix to avoid string format conflicts (screwed up after
  feature branch merges)
- strip trailing whitespaces
- flake8