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.
ENYO-2405: some corrections
ENYO-2405: disable BuildStatusUI

- Widget is still present, but it  is no longer trigged by a dedicated
  Entry in the _Project_ menu.
- How to properly  indicate build status will be  handled by follow-up
  JIRA https://enyojs.atlassian.net/browse/ENYO-2565

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-2405: fix global-var leak + misc minor edits

- variable _fn_ was leaking  ion global scope.   A possible  cause of
  name  clash when  several packages  were downloaded  simultaneously.
  Also renamed is `fileName` as it is more descriptive.
- replaces (^J^J^J+) by (^J^J) (at most)
- remove outated comment
- use `.bin`  as a  fil extenstion when  unknown from  the associative
  array.
- make a trace more explicit (start streaming...)

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
Merge remote-tracking branch 'origin/master' into ENYO-2405
ENYO-2405: fix some jshint errors in _bdPhoneGap.js_

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
Merge pull request #339 from enyojs/ENYO-2405

ENYO-2405, ENYO-2404: Download built application from Phonegap build