[TIMOB-16177]iOS: Orientation Bug with modal window

Test case in [JIRA](https://jira.appcelerator.org/browse/TIMOB-16177#comment-288047)

ADDITIONAL TEST CASES : 

TIMOB-2458
TIMOB-4782
TIMOB-4888
TIMOB-5025
TIMOB-5891 
TIMOB-6485 
TIMOB-7486 
TIMOB-6487
TIMOB-8333
TIMOB-4619
TIMOB-1634
TIMOB-6391
TIMOB-6551  

I made a small [Regression test app](https://www.dropbox.com/s/jkuo1hwpuz0baer/orientationRegressionSuite.zip). which contain some most of the test . Some of the test have to be run individually so could not include the test case.