Slightly increase the delay after setting the device orientation to ensure that UIDevice updates.

On certain platforms i.e. Travis, iOS 7 occasionally requires a slightly higher delay.
Slightly increase the delay before alert handlers return to ensure that alert delegates receive their callbacks.

On certain platforms i.e. Travis, iOS 7 occasionally requires a slightly higher delay.