ENYO-1712: make ares filesystem-layout more bootplate-like

- turn `lib/service` into `services/source`
- feed `lib/localStorage/*` into `utilities/source`
- move `project-view/source/PhonegapBuild.js` into `services/source`
- fix causes glitches in `package.js` & `HermesFileTree.js`

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-1712: remove phonegapbuildapi & re-add as a git submodule

- use [enyojs/phonegapbuildapi](https://github.com/enyojs/phonegapbuildapi)
  rather than a file-by-file copy of the original project
  [germallon/phonegapbuildapi](https://github.com/germallon/phonegapbuildapi)

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-1712: remove unused mapped folders

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-1712: make ares filesystem-layout more bootplate-like (2)

- turn `lib/service` into `services/source`
- fix causes glitches in `package.js` & `HermesFileTree.js`

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-1712: add dependency on `https://github.com/mikeal/request`

- This dependency is common with ENYO-831 (cherry-picked same commit)

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-1712: add dependency on node-mime (MIT-licensed)

- this is a sub-dependency of phonegapbuild, for which we are already
  using our own (modified) version.
- https://github.com/broofa/node-mime

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
Revert "ENYO-1223: add node-formidable multipart/form-data upload manager"

This reverts commit 3fbf92269b596e374f90539ee69742c6b4f7bf44.

Use the node-formidable version that comes built-in with express & connect.
ENYO-1712: remove direct bdPhoneGap dependency on node-formidable

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-1712: remove nodejs-file-server.js archived by default

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-1724: Added some comments about the project data sharing between phobos and deimos

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

Demo usability fixes
ENYO-1792: Introduce g11n into Ares

Enyo-DCO-1.1-Signed-off-by: Yves Del Medico <yves.del-medico@hp.com>
ENYO-1792: Introduce a few g11n messages into Ares

Enyo-DCO-1.1-Signed-off-by: Yves Del Medico <yves.del-medico@hp.com>
ENYO-1792: Introduce a few g11n messages into Ares

Enyo-DCO-1.1-Signed-off-by: Yves Del Medico <yves.del-medico@hp.com>
Merge branch 'master' of github.com:enyojs/ares-project into ENYO-1724
ENYO-1712: LocalStorage: bind callbacks only when `self` is provided

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-1712: ServiceRegistry: Add generic `<Service>#authorize()`

- Services implementing security (eg. Phonegap, Dropbox… etc) need to
  override the `Service#authorize()` method.
- add a completion callback to `ServiceRegistry#setConfig()` to allow
  including it in an `async#serie()` or `async#waterfall()`
- reduce service resolver verbosity

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-1712: catch `onUpdateAuth` events at `Ares()` level (top-most)

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-1712: add an explicit `authorisation` step to PhonegapBuild

- It is now possible to check the user's credentials from the
  `AccountConfigurator()`

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

ENYO-1792: Introduce g11n and a few g11n messages into Ares