Invalidate shadow renderer when classList is mutated

Fixes #443
Merge pull request #444 from arv/class-list

Invalidate shadow renderer when classList is mutated