Support for {{kind}} placeholder in comments and messages.

Adds support for the use of {{kind}} placeholder in comments and messages, where {{kind}} is the text type of the item being actioned: either "submission" or "comment".