Dom.addClass + Dom.removeClass refactoring

re-implemented Dom.addClass + Dom.removeClass to use string functions
added new functions in Strings to work with space-separated lists (addToList, removeFromList, uniqueList)
updated existing + added new tests