Update vendor/platform.js and add test for `rhino -require`.