MOBILE-482 Global flag for detecting when we are running under Node-webk...

...it

https://tracker.moodle.org/browse/MOBILE-482