ENYO-831: add missing httpError.js file

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-831: restore former working fsLocal#_propfind

- new broken-down one looked better but did not work
- add non-regression test

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-831: clean-up parameters to start Ares (runtest… etc)

- See `node ide.js -h` for details
- README.md updated accordingly

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-831: HermesFileTree: show error popup instead of crashing

- throw-ing exception from async lambda function is useless.

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-831: change fileId encoding

- only the Hermes server chooses the encoded value
- no longer encodeURIComponent, as it is automatically decoded by an
  express-based proxy
- manual test is Ok
- still need to update the fsLocal.spec.js test suite (likely broken by
  this change)

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-831: pass 'verbose' IDE property as '-v' flag for sub-processes

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-831: IDE use '--runtest' or '-T' option, not 'runtest' parameter

- this way, every parameters following ide.js are passed as parseable
  options, handled by optimist: no more need to deal with argv[x]

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-831: Proxy every sub-services through the IDE server

- this is a mandatory (important) change to be able to set browser
  cookie from sub-services
- …which is also mandatory to be able to access files via the '/file'
  pathname for non-AJAX (eg. images, app preview… etc)

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-831: Force terminate Ares sub-services when IDE server crashes

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-831: add a `-v` option to ide.js

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-831: first version with end-to-end Dropbox auth working

- cookie passing works
- file-system verbs not yet implemented
- complete flow in a single session (account creation + navigation) not
  yet implemented.

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-831: HermesFileTree: do not crash on file-ops w/o selection

…show an error popup instead of crashing when trying a file-op without
selecting a file or folder before.

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

- This node.js library handles redirects & proxies (although proxy setup
  is not yet implemented in Ares).  It is also capable of checking SSL
  certificates validity.

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-831: first partial fsDropbox implementation

- end-to-end support for tunnelled OAuth tokens (using cookies)
- PROPFIND implementation (with depth=0, 1)

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-831: actually start fsDropbox along with Ares

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
Merge remote-tracking branch 'enyojs/master' into ENYO-831

Conflicts:
	README.md
	hermes/fsLocal.js
	hermes/lib/fsBase.js
	ide.js
	lib/service/HermesFileTree.js
ENYO-1726: refactor code into importProject method
ENYO-1726: moved file test within foreach loop
Merge pull request #158 from enyojs/ENYO-831

ENYO-831: Dropbox file-system browsing
Revert "Merge pull request #158 from enyojs/ENYO-831"

This reverts commit 727dff19b2077d4e7cca356af48efc81c4cebadc, reversing
changes made to 63a4f014f1bf8e1fbf582b22ec6812537cadcb47.