Added the option to set the value as a class

This options helps to style the specific element with some data. You
can think of a language selector with a image of each flag before the
item.