Make sure webContents is created when opening devtools.

Fixes atom/atom#2270.