modified r.js build script to save version info
changed main from require() to define() since main should already be require()ed from a template. also updated the header comment.
Merge branch 'develop'