UIView extension: -ancestorWithClass and +ancestorOfView:withClass