New signals:  before_task_publish / after_task_publish

- The new task_send in 3.1 signal was renamed to before_task_publish

- The task_sent signal is deprecated and after_task_publish must be used
  instead.  The new signal gives more flexibility as it contains more
  information.

Closes #1606