Flash messages signals

If we send a signal when a template is rendered why not when a message
is flashed? One real world use case is in tests, this signal should make
flash messages expectation easier to implement.
Merge pull request #687 from poiati/flash-signal

Flash messages signals