added production build task and fixed relative paths 

Made a new build task to create a new www directory with minified assets. Also relative paths are generated when linking the files and are only used for build tasks now.