HeatQuery.run should return the deferred object from the ajax request.
Added better support for RequireJS.

* Reorganized directory structure
* Added a RequireJS build profile