Fix for AlertView rotation in iOS 8 #28: Implementing viewWillTransitionToSize for iOS 8

On iOS 8 willRotateToInterfaceOrientation is deprecated. This leads to having buttons that are not clickable anymore when the screen rotates.

viewWillTransitionToSize (iOS 8) solves that.