One issue fix & two new features

Hi, Sihorton

In this request, I fixed one issue and supported  two new features, so you can consider merging this request or not.

Issue:
1. Sometimes the nodejs fail to connect Chrome debug server due to server is not ready, so I add error handle case      to retry the connection.

Features:
1. Add "onAppWinClose" callback that nodejs can handle window close event
2. Add "appUrl" and "ignoreUrlRedirection" that deskShell can launch Chrome to load remote websites, and nodejs can inject JavaScript code by remoteDebugApi

Thanks