ENYO-2570, ENYO-1768: use jshint smarttabs to be compatible with Emacs

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-2565: refactor Ares.ErrorPopup to allow HTML

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-2565: Carry PhoneGapBuild HTML-written errors messages to the IDE

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-2565: Carry PhoneGapBuild HTML-written errors messages to the IDE

- add missed chunk.

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-2565, ENYO-2570: update .jshintrc (es5 for Node.js) & fix warnings

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-2565: reshape code (remove useless whitespaces)

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-2565: do not always request build for every platforms

…this does not change the fact that PhoneGap Build will anyway start
building for every platform.

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-2565, ENYO-2570: fix jshint whitespaces

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-2565: download PhoneGap-built packages (+ refactoring)

- `bdPhoneGap#returnBody()` becomes `bdBase#returnFormData()`
- `returnFormData()` fix global variable leaks (bug root-cause)
- `returnFormData()` can deal with multiple parts
- `returnFormData()` can handle both Streams and Buffers
- `returnFormData()` place-holder code for node-0.10.x (switch from
  `Buffer` to `Stream`)

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-2565, ENYO-2570: jshint whitespaces & FIXME

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-2565: git-ignore new dependency (base64stream)

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

Conflicts:
	.jshintrc
ENYO-2562: run `jshint` under `npm test`

- use ECMAScript 5 (the default) to allow reserved Javascript keywords
  to be used as property names (required by express).

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-2562: integrate new `Generator#generate()` interface

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-2562: use master branch of ares-generator

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

ENYO-2565: automatically download packages built by PhoneGap
Merge branch 'master' of github.com:enyojs/ares-project into ENYO-2562

Conflicts:
	.jshintrc
Merge pull request #364 from enyojs/ENYO-2562

ENYO-2562: integrate new `ares-generator` interface
Merge branch 'master' of github.com:enyojs/ares-project into ENYO-2367