Remove duplicate positions in error navigation

Avoids apparently no-op movements when using prefix arguments, e.g. `M-2
M-x flycheck-first-error`.
Test error navigation [#95]
Split next-error function from Flycheck command

Allows users to advise Flycheck error navigation independently from
Compilation Mode navigation.