Kroc/DOMTemplate — pull request #21 by olace (2013-08-09 14:07:42+00:00)
Title: 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.