Use css class to ignore certain flash messages
fixes condition: does not hide all messages, when only one is supposed to be hidden, anymore
Merge pull request #1444 from opf/feature/9819_merge_4019_into_release_3

[Release][Fix] 9819 merge 4019 into release 3