improve ejecta support

- added device.ejecta flag, which is true when running under ejecta
- use '#canvas' for the stage when running on ejecta, which is the main canvas for rendering in this case

Also, I've done some little modifications on Ejecta end here: https://github.com/phoboslab/Ejecta/pull/262
It's working fine on my setup.