Adding Messages as request attribute to enforce flash scope when redirect

Closes #795