Channel ui alerts

Added a bit of code in the view and controller for the alerts UI
Did a bit of code refactoring
This PR is for issue: https://github.com/jembi/openhim-console/issues/71
I personally feel we can leave out the index, since the order doesn't mean anything. But it's not a big deal.