bullet-proof modjewel

Details

Description

Since Cordova is going to have it's own require() and define() functions, I need to figure out how to make those co-exist with weinre's require() and define() functions - in the target.

Current thinking is that modjewel should export a global to window called "modjewel", with a require() and define() function hanging off that object, and then use those.

This affects the bundling procedure, which should replace define() with modjewel.define(), or run those defines with their own version (closed over a function). Also affects the "main" require() that gets everything started.