DevTools: keep widgets in widget hierarchy upon hide, split attach/detach cycle from show/hide (reland)

TBR=dgozman

Review-Url: https://codereview.chromium.org/2168223002
Cr-Commit-Position: refs/heads/master@{#407209}
12 files changed