PreferencesDialog: Add new tab for extension loading

Add new settings to preferences dialog for automated loading of
extensions for all databases.