Add configuration files for publishing on npm and optimizing with r.js.
Synch up versions in all deploy modes.