[core] Use Nick class for nicks in the core.

This doesn't include trigger.sender, since that is more often a channel
Issue #178