enable django messages in templates, tweak
add flagging app, refs #470, thanks jj0hns0n