Collapsible set: Implement _destroy().
Moving function domEqual to testHelper.
Tests: Collapsible: Convert to sync tests.
addFirstLastClasses: Write the corresponding remove-method.
Integration tests: Collapsible and collapsible set: check _destroy().
testHelper: domEqual now ignores empty class attribute.