Danger instead of error for boostrap compatibility

Bootstrap does not use the error class for red messages, instead
danger is the "correct" nomenclature
IE8 compatibility

For IE the directive should be as an attribute, and use the
angular.forEach method of iteration instead of expecting Arrays to
have that method.
Simplify the flash message API

Does no longer do structure marshaling on missing options, and
the formating is kept simpler.