Add simpler behavior for flash messages
Merge pull request #314 from romainneutron/flash-messages

[3.8] Add simpler behavior for flash messages