Move ebib-set-dialect and ebib-list-keys to ebib-utils.el.

Also add new function ebib-get-dialect.
New option `ebib-bibtex-dialect'.

This replaces the explicit references to `bibtex-dialect'.

Additionally fix some bugs in the mode line and the menu.