Young material widget fixes
Youngs Material Widget has not been working for some time.
- Fixes an qobject_cast issue that prevented the widget to work at all for a few years
- Fixes the non-working combobox logic by using the more modern pqArraySelectorPropertyWidget
- Syntax and style pass on the whole class
- Adding a test
Edited by Mathieu Westphal (Kitware)