Build Updates

Updated build tasks and app/index files for the purposes of the template starting off at a prefixed path off of a URL

(In this case /template/)

Updated build scripts to properly deploy to dist/%appName%.