Add matching key in commit hooks, used for example in wicd configuration files. Refactoring regexp patterns
Remove python gitignore, add swap files to ignore