Added helper class for quering CSS color names and values.

I added a helper class for conversion of CSS color names to their corresponding values and vice versa. This class is required for the upcoming ODT export of the typography plugin. Please merge it to the master branch if you think the code is OK.

Thanks.