Added noty type as class allows easier testing

Our testers make heavy use of selenium (Cucumber). It is quite cumbersome for them to check the noty type (error, warning, notification etc.) by parsing the inlined background_color. Also the color depends on the theme used.