app_shell: Make renderer run background page JavaScript

* Install URL protocol handler for chrome-extension:// and chrome-extension-resource://
* Allow extension urls to be handled.
* Register extensions with IO thread extension InfoMap.
* Bonus: app_shell no longer crashes on startup.

With this change an extension background page can print "Hello world" using console.log().

BUG=288226,332982
TEST=browser_tests. Also run app_shell --app=/path/to/extension with an extension with background.js. The JavaScript executes and console.log() works.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245325 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 245325
Basic implementation of the Sync C++ fake server

This CL provides just enough functionality so that
PrototypeFakeServerTest will pass.

BUG=323265

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245326 0039d316-1c4b-4281-b951-d872f2087c98
Add --nacl switch to install-build-deps.sh

When run with --nacl, the script should now install everything
that is needed by NaCl bots.

R=bradnelson@google.com

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

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