ENYO-2458: do not crash on request() timeout

Use Node.js 0.8.x domains, as exposed by https://speakerdeck.com/felixge/domains-in-node-08
and http://stackoverflow.com/questions/11599739/how-to-use-node-js-0-8-x-domains-with-express

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-2405: the buildStatus action is added and the download build is in progress.

A refactoring of the code is needed in the definition of the kind "BuildStatusUI".
The status displayed should be periodically refreshed in the case of pending build, this new feature of the pop-up need a restructuration of the "BuildStatusUI" code.
ENYO-2405: The download of the the built package from Phonegap is now implemented

This commit contain also a code refactoring for "BuildStatusUI.js" and a new feature which let the user access to the web page of "Phonegap build" by clicking on a status label. Due to the problem of timeout which occure when Ares tries to download a packaged application from Phonegap using the API-Phonegap-build, an alternative code is used, it allows Node.js to grap a file from any directory on the system and send it in a multipart/data form to the target directory. Note that the code using the API-Phonegap-Build is commented.
ENYO-2345: start adding `libs` support to project properties

- genZip/GenZip/project-gen.js: work complete, albeit bugs
- ProjectProperties|Wizard.js: work in progress. 100% untested

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
Merge branch 'master' of github.com:enyojs/ares-project into ENYO-2405

Conflicts:
	services/source/phonegap/Build.js

The merge caused a bug which disable Phonegap build from the Ares UI.
ENYO-2405: Pull request Remarks

Some remarks made in the pull request are treated and marked 'Fixed'. Other fix will follow as soon as the branch bug is fixed
ENYO-2405: Fixed bug due to the merge.

The build and the buildStatus features work, the pull request remarks will be treated in the next commit.
Note: in this commit the loading pop-up displayed when the build status is requested continue to run after dismissing the Status pop-up, this bug will be also fixed in the next commit.
ENYO-2405: The bug in the waiting pop-up displayed when the user select "project -> Build status" is now fixed.
Merge branch 'master' of github.com:enyojs/ares-project into ENYO-2405

Conflicts:
	services/source/phonegap/Build.js
Merge branch 'master' of github.com:enyojs/ares-project into ENYO-2405
ENYO-2405: Some refactoring and code cleanning.
Merge branch 'master' of github.com:enyojs/ares-project into ENYO-2405
ENYO-2405: Some clean-up.
ENYO-2562: use `node_modules/ares-generator` rather than built-in one

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
Merge branch 'ENYO-2345-snowfix' of github.com:enyojs/ares-project into ENYO-2562

Conflicts:
	hermes/lib/project-gen.js
ENYO-2570: Added .jshintrc, … files to prepare JSHint automatic execution on pull-request submissions.

Enyo-DCO-1.1-Signed-off-by: Yves Del Medico <yves.del-medico@hp.com>
ENYO-2570: Added jshint as an npm dev dependency.

Enyo-DCO-1.1-Signed-off-by: Yves Del Medico <yves.del-medico@hp.com>
Merge pull request #351 from enyojs/ENYO-2570

ENYO-2570: Added .jshintrc, … files to prepare JSHint automatic execution on pull-request submissions.
ENYO-2345: fixed bug related to get project template

- this is bug fix related to ares-webos-sdk (ENYO-2345-sparkleholic)

- current ares-webos-sdk is using different project-templates properties compared to before

- this bug fix is for short term to be able to create project properly

Enyo-DCO-1.1-Signed-off-by: Junil Kim <logyourself@gmail.com>
ENYO-2562: update to use `sources:` instead of `templates:` + `libs:`

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>