Added a `parsedSkin` event to the UI Skin parser

Now that there is an event fired when the skin has
been changed, we can have a utility that updates
the config and wait till the events fire.
This makes the unit tests deterministic and
setTimeout is no longer required.