Repetition only manages certain CSS classes

Only manage the "selected", "active" and "no-transition" classes.  All
other classes must be managed by a DynamicElement on the particular node
(which in turn must take care not to trample our classes, but that is
not accounted for in this commit).