Stop Flycheck globally when Emacs is killed [#366]

A local kill-emacs-hook doesn't make sense, and didn't really seem to
work anyway.

Now we add a global hook, and iterate over the entire buffer list to
stop Flycheck in any buffer where it's active.