Index media usage data

This introduces a media usage metadata index and uses it in ``ft_mediause``. Furthermore the old ``refshow`` configuration option is removed as it's no longer needed as the new index-based media lookup is fast enough.