Update to status bar orientation, not the actual device orientation

This is what programmers really want, for example to setup their views.

The first one had the effect of returning YES, if you had your iphone landscape and then put it portrait upside down, and the application has upside down locked.

My fix returns landscape (as the UI still is landscape), where the original code returned portrait.
Merge pull request #1 from alistra/patch-1

Updated isInPortrait to use status bar orientation, not the actual device orientation.