Merge pull request #1 from crawshaw/master

remove package name stutter, fix two gitfix problems
Add a basic unit test.

It's a bit pointless now, but will be more useful later.
Refactor linting into library.
Make test more useful by covering Check only.
add gofmt as a problem