Added ability to load submodules within templates during the build phase

- Removes the requirement to strip out the plugin id, by using stubModule option in r.js
- Updated config and demo