Stage work in progress patch.
fix on returning and resolving promise on build devtool panel
enable devtool panel only on local target
unregister devtool panel on destroy (and destroy all registered panels on unload)
minor refactor set attributes on inner and outer frames
Merge remote-tracking branch 'origin/devtools' into devtools

Conflicts:
	lib/dev/pane.js