[Panel] Fix to allow a `type` property to be provided to the Panel's `header` config, to instantiate a different Header subclass.