Refactor

Performance Improvement: check that the stylesheets that match media
have changed before rerunning.

New feature: For each combination of active stylesheets, save its
keyframe data in the dom, and then just switch to the relevant dataset
on resize. Allows inline styles to be preserved, and JS to modify
styles without those changes being wiped out on resize.
Bump version