Fix sharedForEach callback's argument order

This fixes the implementation. Next is the test file.
Fix sharedForEach callback's argument order (test)

As title.
Update version to 0.4.0

The change to the Map polyfill may break current implementations, so the version number has been updated.
Merge pull request #19 from afandria/master

Fix sharedForEach callback's argument order