Fixed flash messages.

I have added a javascript temporary fix for flash-messages to work
in IE8. I have already sent a bug/issue to the libraries creator
and the creator has already replied saying he will fix it. Once the
fix has been pushed by the creator, we can remove the temporary fix.

I have also created a flashService service to generate flash messages
so that we can use bootstrap's classes as well.