Added IUIItem.GetParent<T>() extension method

Code suggested for #139 works for me, so it could be useful to others as well.