ENYO-2344: re-indent `hermes/lib/project-gen.js` with leading tabs

- Enyo internal coding standard.

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-2344: use HttpError from `hermes/lib/httpError.js`

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-2344: do not crash when loading incomplete `ProjectProperties` panel

- defined base `Ares.ProjectProperties` class to avoid prototype error
  on public interface.

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-2344: genZip works behind HTTP proxies

- Implement `/config` web endpoint & associated async configuration
  flow.
- Use proper npmlog
- Fix error handling
  - Use HttpError from library
  - Put error handler at the right position
  - Stop wrapping native errors (let errorHandler do it)

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-2344: cleanups

- Move private functions in functional scope
- Various white-spaces cleanups

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-2344: implement & document `prefixtoAdd:` template property

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-2344: implement & document `files:[]` templates

- It is now possible to copy directly files from the template provider
  source tree into the target project source tree, without the need for
  an intermediate ZIP-file.  This is useful for small libraries like
  widget or Enyo-wrappers that come in addition to existing libraries.

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-2344
ENYO-2344: add missing `hermes/lib/copyFile.js`

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

ENYO-2344: new template (genZip) capabilities: proxies, prefixToAdd, files
Merge remote-tracking branch 'upstream/master' into Work