Fix iOS8 orientation handling

Fixes to orientation for iOS 8. Have taken the approach of not touching anything for iOS7 and below.

I use WYPopoverController on another project in more complex ways so will be sure to remediate any of these issues too.