Adding Jasmine unit tests to PanelSpec.js

Adding a first set of Jasmine unit tests for Panel.
Testing labels, scalebars etc.