fixes for problems found by go vet
Merge pull request #70 from mailgun/jeremy/vet

fixes for problems found by go vet