Adding class to an element that already had a class would fail

If an element have a class attribute and we try to use the addClass function, the new class would not be appended.

The $node variable does not exists in setClassNode, it should be $DOMNode.