Pass "onAppWinClose" & "onRemoteApiReady" by app instance self, not by params object
Merge pull request #2 from jiahansu/master

Pass "onAppWinClose" & "onRemoteApiReady" by app instance