Added widget types and other changes

Added widget types primary, info, warging, danger, success... Changed
how widget is generated and the name of css classes.