ENYO-2306: refactor Phonegap Build integration

Tested Ok on OSX/ChromeCanary

1. Build the FormData of the project on the server rather than in the
   browser using HTML5 FormData (more portable).
2. Do not edit the FormData built on by the bdPhonegap server (pass
   PhoneGap form parameters as POST query parameters).
3. Split BdPhoneGap in BdBase (common builders library) + BdPhoneGap

The amount of change is likely large enough that a core review is not
worth the pain: a functional test will be more helpful.

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-2306: refactor Phonegap Build integration (Windows integration)

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-2306.2

Conflicts:
	hermes/bdPhoneGap.js
Merge branch 'master' of github.com:enyojs/ares-project into ENYO-2306.2
ENYO-2306: report PGB error message as set by PGB

Tested Ok on OSX/ChromeCanary

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-2306: PhoneGap use UI-provided password even if username is unchanged

Tested Ok on OSX/ChromeCanary

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

ENYO-2306: fix PhoneGap build integration (Windows & OSX)