Let *Class function deal with multiple class names

While it is possible to assign/remove multiple classes by manipulating the className attribute, the same cannot be done with the new classList API.

Thus, each value is split into an array and an iteration method is called with the corresponding classList method.