Added a UiFactory field for all widgets.

This enables custom appearances for all widgets.
Merge pull request #44 from kfa/add_appearance_uifactory

Added a UiFactory field for all widgets.