Enh: Add event trigger factory

Add the event trigger factory module. This module keeps track of all
available event trigger types and creates new instances of these
triggers when they are attached to the bot.