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.
Merge pull request #152 from harrol/master

Added noty type as class allows easier testing