Move flag hook into IMP_Flags
Add ability to replace current mesage flag information via AJAX imp:flag task

Conflicts:
	imp/lib/Ajax/Queue.php
Reset flag changes after unsuccessful delete/move