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

- Add test to verify programmatic switching of applications
Merge pull request #1041 from xinliux/xinliux/misc/add-wrapper

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