ENYO-1020: editor: turn `Save` button into `File` menu…

- `File` menu has `Save`, `Save as` and `Close` menu items.

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-1020: Fix typo in `EditorSettings` breaking the `chrome` theme

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-1020: `DirectorySelectorPopup` is now `FileChooser`

- `DirectorySelectorPopup` is now `Ares.FileChooser` defined by
  `utilities/source/FileChooser`
- Move manual `style:`  into `Ares.css` as `.ares-filechooser*`

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
Merge remote-tracking branch 'enyojs/master' into ENYO-1020
ENYO-1020: Move top-level Ares MVC components under ares/source/

- the `model/` tree was not attached to one of the functional Ares
  components (Ares, Harmonia, Phobos, Deimos)

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-2104: refresh Ares usage instructions

- git clone is no longer the primary way of delivering Ares

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-1020: Move top-level Ares MVC components under ares/source/ (2/2)

- fix broken package.js

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-1020: add /favicon.ico (avoid 404 in the logs...)

- remove former ares.png files fetched from the Net with random license
- add icon from Ares1 (https://ares.palm.com) as favicon.ico

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-2104: remove misleading runares.bat

- prefer to use NPM-generated wrappers

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-1020: add `ares.basename()` and `ares.dirname()` utilities

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-1996: Added getParentOfSelected method on HermesFileTree
ENYO-1020: share waitPopup between Ares & Phobos

- Former implementation fires up one, the other one or both without
  a well-defined (or understandable) logic.
- New implementation uses a single Ares#waitPopup that is usable via
  events by any module of Ares.

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-1020: refactor FileChooser to be a filePicker or a folderPicker

- Still used by ProjectWizard (folderPicker)
- Ready to be used by Phobos#saveAs (filePicker)

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-1020: implement Phobos#saveAs

- UI interaction is handled by Phobos (text editor), which raises events
- Events are trapped at the Ares level, which implements async file-
  system operations & report their success back to Phobos
- FIXME: Phobos#saveAs() uses a common-JS type of completion callback
  (which is good) while Phobos#save() makes Ares directly call into
  Phobos's API (which is ugly, because Ares needs to know about an async
  operation completion public API which does not need to exist).
- FIXME: saveAs popup does not show the folder where the current file
  is.  This is Ok in case of multiple saveAs (operation resumes in the
  same folder as before), but not for the first popup.

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-1020: remove dead code (Documents.js)

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-1020: update FS protocol description, following @opopova comment

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-1020
ENYO-1020: decrease FileChooser tracing level.

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-2089: refresh the FileTree after `Save As…`

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>
ENYO-2089: review comment: add Ares icon attribution

- Also fix wiki formatting of former attribution (from open clipart)

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