Implemented 'to be canonical' assertion. Fixes #36.
Removed double var declaration.
Use shim.forEach instead of relying on Array.prototype.forEach being present.
Added a little README.
Merge pull request #45 from sunesimonsen/toBeCanonical

Implemented 'to be canonical' assertion