A javascript class that provides an easy call for adding system messages, which are dismissable and auto dismiss after a duration