Guard against no atom.__workspaceView

This makes it easier for packages to use status-bar in their specs
without having to shim this.
Prepare 0.51.0 release