util to help insert new class strings into an existing class string

In a nice funtional way.  Just a helper util.