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
Ditto on the commented-out code