ENYO-1400: update existing application on build.phonegap.com

- test using curl command-line (with up-to-date doc)
- fix phonegapbuildapi: api.js, as done in an upstream fork at
  https://github.com/enyojs/phonegapbuildapi/commit/5a516543ce5745a5b2ebad074f4083068e70df20

Enyo-DCO-1.0-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
Merge remote-tracking branch 'enyojs/ENYO-1400' into ENYO-1189
Merge branch 'master' of github.com:enyojs/ares-project into ENYO-1189
ENYO-1189: enable both /phonegap/build & /phonegap/deploy services

- This gives access to elementary steps of the build process.  This is
  both for testing & possible future usage, if we deploy apps by means
  other than PhoneGap.
- Access to build.phonegap.com does not work behind a non-transparent
  HTTP proxy.  This is tracked by https://enyojs.atlassian.net/browse/ENYO-1420

Enyo-DCO-1.0-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-1225: Orchestrate the app submission to build.phonegap.com

Enyo-DCO-1.0-Signed-off-by: Yves Del Medico <yves.del-medico@hp.com>
ENYO-1225: Orchestrate the app submission to build.phonegap.com

Enyo-DCO-1.0-Signed-off-by: Yves Del Medico <yves.del-medico@hp.com>
Merge branch 'ENYO-1189' of github.com:enyojs/ares-project into ENYO-1189
Merge remote-tracking branch 'origin/ENYO-1225' into ENYO-1189
ENYO-1410 - fix the "Uncaught TypeError: Cannot read property 'target' when trying to read project.json without phonegapbuild parameters.

Enyo-DCO-1.0-Signed-off-by: Marie-Antoinette de Bonis-Hamelin (Marian)
marie-antoinette.de-bonis-hamelin@hp.com
Merge remote-tracking branch 'enyojs/ENYO-1189' into ENYO-1410
ENYO-1410: fix bad merge

Enyo-DCO-1.0-Signed-off-by: Marie-Antoinette de Bonis-Hamelin (Marian)
marie-antoinette.de-bonis-hamelin@hp.com
ENYO-1189: use optimist to parse options in hermes phone gap build service

Enyo-DCO-1.0-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-1189: rename misleading HermesService into HermesFileSystem

- an Hermes service is a provider using an intermediate Node.js server
- a FileSystem service implements a specific programmatic interface
  defined by FileSystemService.js

Enyo-DCO-1.0-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-1189: start hermes phone gap build service with the main ide.js

Enyo-DCO-1.0-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-1189: Harmonia & DirectorySelctor use "filesystem" services only

- Filter-out the list of services from ServiceRegistry to retain only
  the ones providing the "filesystem" type.

Enyo-DCO-1.0-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-1189: consistent node-optimist usage across Hermes services

Enyo-DCO-1.0-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-1225: Orchestrate the app submission to build.phonegap.com
- Pass appId if the application was already built in phone gap build

Enyo-DCO-1.0-Signed-off-by: Yves Del Medico <yves.del-medico@hp.com>
Merge branch 'ENYO-1189' of github.com:enyojs/ares-project into ENYO-1189
Merge branch 'master' of github.com:enyojs/ares-project into ENYO-1189
ENYO-1225: Orchestrate the app submission to build.phonegap.com
- Integrated enyo.Ajax fix regarding FormData

Enyo-DCO-1.0-Signed-off-by: Yves Del Medico <yves.del-medico@hp.com>