Add GetRemoteDebuggingPort virtual function for BrowserMainParts.

The devtools uses localStorage to store settings, and localStorage uses `address:port` to mark each storage cell, so the devtools's settings can only be saved when a fixed remote debugging port is provided.