Configurable display function

Allows the user to determine via a custom setting how Flycheck will display error messages, defaulting to the original behaviour of `display-message-or-buffer`.