iOS 8 and keyboard support

Added better frame bounds detection for iOS 8 and added keyboard "dodge" support for UIControls that use the system keyboard.