Modify app structure to deliver requirejs output to dist folder; some
jslint cleanup