Fixed unicode issues with PySide loadUiType
Added unit test for loadUiType