Refactor client application

* use AMD authoring format for hello module
* move run.js to src
* simpler curl configuration