Created rake tasks for managing git pre-commit hook
Fixed generate .git/hooks/pre-commit