REF: remove ugly use of locals.
REF: use print as a function in config.
TST: add basic test for print_config.!
REF: remove unused import.
STY: pep8 fixes in enstaller.config.