GUI for alerts system

This one relies heavily on @f0o's PR #366 so that will need to be merged. This is purely the web interface side of things.