trigger: refuse triggers with . in their name

gb reported that he can create triggers with a period in their name, but they are lost when he /upgrades. The reason is because the trigger name is parsed out of the option name when in trigger-config.c:448