Naive guard against adding a class twice
Correctly retrieve classes from className
Merge pull request #17 from kerryck/master

Two bugfixes to classList shim