Move check for acceptable markup filter values to get_markup_filter_name()
Split except clause for handling different exceptions
Add get_markup_filter()

This replaces get_markup_filter_name() which now only returns the
filter name for showing on the UI.
Fall back to HTML markup when markup configured module is missing

This fixes bug #2380.