bug #1561 - fixes for pep8, added gitignore