Check in the pertient bits of MapGuide that we want to attempt to transpile to JS with emscripten. This code is from the stylization_refactor sandbox (http://trac.osgeo.org/mapguide/browser/sandbox/jng/stylization_refactor), which did the necessary preparation work on this code.