Fix & refactor title bar alerts
Fix & refactor title bar alerts

Implemented the title flashing code as an angular service and
refactored the code a bit so it would be less prone to destroying
the original title text. It actually works with the new UI now.

shamblesides/rpnow,shamblesides/rpnow