get topView through the rootViewController if available

I was using a third-party library that was inserting a view over the key window. Then the PopoverView was being inserted into this hidden view so no popup was displayed.

Signed-off-by: Jared Allen <jared@redcact.us>