Added connection timeout functionality to CastSocket.
Added a default timeout interval (8s) to Cast API. Will expose to callers in a followup CL. 8s seconds was selected (rather arbitrarily) to match cloudview.sender.ChannelService.CHANNEL_CREATION_TIMEOUT_ from the extension.
Miscellaneous minor doc fixes, and lint-friendly cleanups.
BUG=335221
R=mfoltz@chromium.org
Review URL: https://codereview.chromium.org/
393023003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@285455 0039d316-1c4b-4281-b951-d872f2087c98