Finish renaming modules to plugins, make things a little more lazy and a...

... little more point-free

This is the only functional change:
```haskell
template <- maybe (getDataFileName "templates/pre-commit") return maybe_t
```
I don't really like having this buried in a function; having it at the top means we can put a haddock comment on it, etc.