Go up in the view controller hierarchy until a reveal controller is found

This is similar to how Apple's `navigationController` and `tabBarController` properties work. Goes up the `parentViewController` properties recursively until either a `revealController` is non-nil or the root of the hierarchy has been reached.