ENYO-2106: globally use `myDir` instead of `__dirname`

It seems like `__dirname` is not defined in node-webkit.

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