Fix docked keyboard detection for iOS 8
Merge pull request #620 from calabash/feature/fix-ipad-keyboard-modes-issue-618

Fix docked keyboard detection for iOS 8