add pre-commit hook & convenience script to add it. fix some vet errors.
fix nits
Merge pull request #2 from andybons/andybons_govet

add pre-commit hook & convenience script to add it. fix some vet errors.