Multiple changes to improve ios-driver when driving mobile Safari on a real device.
Merge pull request #237 from ios-driver/greg

Multiple changes to improve ios-driver when for Mobile Safari on a real device.