Add panel getter methods to workspace

This will make it easier to test packages that use panels
without using the DOM