Move bug delete signal into core api

The reason we log to history and then delete the issue is that the email is sent in between, hence, the email notification currently captures in the issue history, who deleted the bug.  This can be less interesting if/when we revisit how notifications work, but that is the history behind this decision.