Change the way we use prog-mode
Enable compilation-mode for gofmt error buffer before displaying it

This ensures that packages like popwin.el, which base their display
behaviour on the buffer's mode, do the right thing.

Closes gh-33