fix($animate): delegate down to addClass/removeClass if setClass is not found

Closes #6463