Add an `.is_nick()` function to the Nick class

Enables easier checking for whether an identifier is a nick or a
channel. Closes #281.