Add flash messages to the response
Wrapped flash in conditional as requested.  Also unset flash if there are no messages.
Merge pull request #6 from bignall/master

Add flash messages to the response