Add webhook URL config for Slack (with tests!)

This is the same as #612 but includes a fixed spec.