Parse and store errors in buffer-local variable. Prepare for
https://github.com/josteink/wsd-mode/issues/8

Fix up issues highlighted by `flycheck`.
Merge branch 'master' of github.com:josteink/wsd-mode