Further progresses on #8

Converted moving of threads (will add "copy" support later) and
deletion of posts. Dramatically improved performances for alert
generation on post deletion (2 queries removed). Nearly done MAP 1.1.
Still missing all the new alerts but I'll certainly work on them today.