Because iOS8 window now rotates its subviews, we need
to skip rotation of the HUD when it is being added to the window.
Learn more here: https://devforums.apple.com/message/981103#981103
Merge pull request #222 from bsuvorov/master

iOS8:  UIWindow rotation transformation is no longer required.
Clean up code style.
Migrated to kCFCoreFoundationVersionNumber_iOS_8_0.