fix(requirejs): fixes modules

RequireJS does not allow anonymous functions within a define call.
http://requirejs.org/docs/errors.html#mismatch

I also had to copy over the modules folder from app to dist for the
templates... I suspect we'll be changing / modifying this anyway but for
now I needed to do it in order to get the page loading.

I also had trouble loading localhost:9000, no data was received
according to chrome, is this intentional? Either way localhost:9090 (the
actual distribution location) works fine.