Minor cleanups in UI code that gets host state when webapp is stared

- Previously the UI was getting local host ID before getting state,
but it doesn't make sense when host is not started.
- 2 minor changes in HostList and HostController around host state
initialization.

BUG=149744
R=jamiewalch@chromium.org

Review URL: https://codereview.chromium.org/160963003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250908 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250908
Fix and re-enable NoScriptAccessAfterSwapOut test.

BUG=261313
TEST=RenderFrameHostManagerTest.NoScriptAccessAfterSwapOut passes.
R=nasko@chromium.org

Review URL: https://codereview.chromium.org/162083002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250909 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250909