Checks the syntax of all changed ruby files is valid before allowing a commit