Code cleanup from code reviews

The test from
https://github.com/smil-in-javascript/smil-in-javascript/pull/68
has been moved to a test with adjacent rectangles, so opacity animation
can be checked visually.
Merge pull request #74 from ewilligers/simpler-suffix-stripping

Code cleanup from code reviews