Improve spinner layer handling for cws widget container

- root the layer in the container parent node (so it cover webstore
  button in addition to webstore widget)

- make it keep focus while it's visible so webview content is not
  reachable by keyboard with active spinner

- show/hide spinner with a transition: this gets rid of flash that was
  visible after user clicks 'install' if install API call fails
  immediately (There would be following transition in less than a second:
1. No overlay (before user clicks 'Install')
2. spinner overlay (when installWebstoreItem is called)
3. No overlay (immediately after installWebstoreItem fails, the spinner overlay
is removed and error dialog shown, but since the error dialog is shown
with a transition there would be no overlay for a moment)
4. error dialog overlay)

BUG=439448
TEST=manual

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

Cr-Commit-Position: refs/heads/master@{#326221}
2 files changed