announcements as template include fragment

and check for dismissal_type when rendering template
Merge pull request #1682 from ischneider/announcements-include

announcements as template include fragment
Merge remote-tracking branch 'projet_original_master/master'