Added r.js shimming commands to common/package.json as well as the actual r.js dependency. Also fixed a missing parameter in ModelViewTransform.transformRectangle