added lib/
pylint + pep8 fixes for lib/locales.py
added .gitignore
ignoring pylint dirs
added lib/repositories.py - still need to figure out how to test it without destroying all my repos