Working a bit on #8

The following alert types have been converted to "global" alerts that
supports any external plugin: delete threads, open threads, close
threads. Todo: move threads, stick threads (from scratch), approve
threads (from scratch), delete post, approve posts (from scratch),
thread subject change (from scratch). Fixed #5.