First submission of SON to CSS generator

`stringIDToTypeID` and `charIDToTypeID` are globals (but also hung off the `app` object). Please use the global version. If we use the app object, then the ES engine has to build the app object, which is enormous and takes time.