Add support for attachments

Slack webhooks also support richly formatted messages in the form of
attachments. This allows them to be passed in optionally as the second
parameter.