added tApp JS API
Merge branch 'master' of https://github.com/ahle/tconnect