[misc][XWALK-2578] Add app swithing test to xwalk system

- Add test to verify programmatic switching of applications
Per `doc/Coding_Style_Guide_CheatSheet.md`, JS code indent by `2 spaces, no tab.`