Add diff-filter to pre-commit hook
Add diff-filter to pre-commit hook

Starting in Puppet 3.4.x the `puppet parser validate` command will throw
an error when run against a file that does not exist. The pre-commit
hook used for the fundamentals class runs all modified '.pp' files through
`parser validate` regardless of their state in git. With the new
restrictions in Puppet 3.4.x, this hook will prevent any commit
containing removed '.pp' files from succeeding.

This commit will limit the files being checked by the hook to added and
modified files only. This will allow students to remove '.pp' files.

klynton/puppetlabs-training-bootstrap,petems/puppetlabs-training-bootstrap,samuelson/education-builds,samuelson/education-builds,carthik/puppetlabs-training-bootstrap,samuelson/puppetlabs-training-bootstrap,puppetlabs/puppetlabs-training-bootstrap,kjhenner/puppetlabs-training-bootstrap,samuelson/puppetlabs-training-bootstrap,carthik/puppetlabs-training-bootstrap,klynton/puppetlabs-training-bootstrap,joshsamuelson/puppetlabs-training-bootstrap,wbhamilton/puppetlabs-training-bootstrap,wbhamilton/puppetlabs-training-bootstrap,samuelson/education-builds,samuelson/puppetlabs-training-bootstrap,johnduarte/puppetlabs-training-bootstrap,puppetlabs/puppetlabs-training-bootstrap,wbhamilton/puppetlabs-training-bootstrap,carthik/puppetlabs-training-bootstrap,klynton/puppetlabs-training-bootstrap,johnduarte/puppetlabs-training-bootstrap,petems/puppetlabs-training-bootstrap,marrero984/education-builds,joshsamuelson/puppetlabs-training-bootstrap,marrero984/education-builds,johnduarte/puppetlabs-training-bootstrap,kjhenner/puppetlabs-training-bootstrap,petems/puppetlabs-training-bootstrap,joshsamuelson/puppetlabs-training-bootstrap,marrero984/education-builds,puppetlabs/puppetlabs-training-bootstrap,kjhenner/puppetlabs-training-bootstrap