fun snClasses(pairs: List<StringBoolPair>): Classes
Helper function for creating classes parameters for Snabbdom.