Build: Support CommonJS non-module exports

Replaces the narwhal test file with instructions for testing with Rhino.

Fixes #521