add xFace.app module for app sendmessage/start/close event handle define
Merge branch 'dev' of git.polyvi.com:xface-extension-ams into dev
修改xFace.app模块

1.将xFace.app.close移到xface.js中，剩下部分放入ams plugin
2.取得废弃的ams.closeapplication接口
3.移除privateModule.js,内置到xface.js中
4.加入xFace.app的测试