Added *.swp to .gitignore
Added tools dir with pre-commit hook and settings for it.