Adds pre-commit hook, hook config script, and a README

The pre-commit hook will automatically gofmt code in place, warning you
about any changes. It will also fail to commit if either golint or go
vet fails.
Merge pull request #856 from BrianBland/ng-hooks

Adds pre-commit hook, hook config script, and relevant README