Added scalariform pre-commit hook
Fixed pre-commit hook bug when no files have changed