Add panel getter methods to workspace

This will make it easier to test packages that use panels
without using the DOM
Merge pull request #4340 from atom/mb-add-panel-getters

Add panel getter methods to workspace