small code refactoring, adding .gitignore to ignore .ropeproject/