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.
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.
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-2345: removed prefix check condition before moving src to dst

ENYO-2345: support project-templates having templates property in project-templates.json

Enyo-DCO-1.1-Signed-off-by: Junil Kim <logyourself@gmail.com>
fixed indent

Enyo-DCO-1.1-Signed-off-by: Junil Kim <logyourself@gmail.com>
fixed indent

Enyo-DCO-1.1-Signed-off-by: Junil Kim <logyourself@gmail.com>
fixed indent

Enyo-DCO-1.1-Signed-off-by: Junil Kim <logyourself@gmail.com>
Merge pull request #353 from enyojs/ENYO-2345-sparkleholic

ENYO-2345: fixed bug related to get project template
Revert "Merge pull request #348 from enyojs/ENYO-2402"

This reverts commit 36bfbfdc9e6c7f17b3b05b812add2364120176bf, reversing
changes made to a0e7b2848fc00b6a2d6fcdf88fd63a9ba35bc62f.