Allow dropdownTemplate and optionTemplate to be overridden via settings

It's handy to be able to override the templates.