Support matching against a certain type of msg type (text or paste).
Merge pull request #22 from mheffner/feature/msg_type_condition

Support matching against a certain type of msg type (text or paste).