Replace misc. network and power stub flags with more flexible ones

This replaces the following flags:
--default-stub-network-state-idle
--enable-stub-interactive (for Shill only)
--enable-stub-portalled-wifi
--enabled-stub-network-types

With:
--shill-stub={options}

Specific option values are commented in the code.

BUG=345033
R=pneubeck@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255422 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 255422
Mojo: Make mojob.sh die if sync or gyp fails.

R=sky@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255423 0039d316-1c4b-4281-b951-d872f2087c98
Parse manifest file with app.service_worker.script.

Add parsing logic to load a manifest specifying a service worker script.
This is a precursor to registering and using that script.

BUG=344917
R=jyasskin@chromium.org

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

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