Use getRemoteDebuggingPort() API to disable cache on reload

@jasonsanjose 

This pull request supersedes #2964 

Use the new `getRemoteDebuggingPort()` call, if available.

Partial fix for #2918 (the rest is in adobe/brackets-shell#212)