iOS 8: Handling of portrait and hybrid portrait/landscape

I believe this fixes #3040 as well as also correctly supports Portrait-only applications.
Both my suggested change and this one incorrectly set the default to all orientations. The correct default should be the value taken from the plist for the application.