[TIMOB-17712] Refactor code for presentationOrientation
[TIMOB-17712] Always delay orientation and statusBar updates on becoming first responder
Merge pull request #6205 from vishalduggal/timob-17712-34X

[TIMOB-17712] (3_4_X) iOS8: Avoid race condition on dismissal of modal window