Fixed flashbag output in layout.html.twig

Since Symfony 2.1, messages are grouped by type. Added a second for-loop to iterate types.
fixes #978
Merge pull request #994 from frne/master

Fixed flashbag output in layout.html.twig