Enh: Add trigger attachment functions

Add functionality to allow attaching triggers to the bot, and add two
specific trigger to the cheevobot instance. The first two triggers allow
the bot to automatically accept all friend requests and automatically
accept all chat invites, respectively. This functionality passes the
unit tests, but has not yet undergone real-world testing.