Add username and hostmask to bot.Trigger.

Here are the changes I suggested in issue #255.