Use the specified ItemTemplate in the WindowCommands control

Also fixes an issue with using a colour resource where a brush is expected.

This is useful when using the control's ItemsSource property in a MVVM scenario where one would want to manipulate what/how the child controls are rendered.