Merge pull request #365 from owenc4a4/test

[test] different method of starting app
don't override mainModule when start from node-main

related to #371
handle our events after rvh is swapped out
implement Window.zoom and event handler

Fix #372
[test]modules for add app to test
[test]call require with node-main set