Use simctl to add photos to the simulator in Xcode >=6
Merge pull request #315 from iamleeg/ios-8-photo-storage

Use simctl to add photos to the simulator in Xcode >=6
Fix unit test failure

* Fixed enforcer plugin failure due to TestNG mismatch
versions.
* Bumping TestNG dependency to 6.8.8 triggered JUnit
assert class not found. So fixed all unit tests to use
TestNG asserts.
* Fixed the build failure for the module ios-grid
due to missing testng xml file.
Added fix in BaseUIAutomationCommandExecutor to escape unnecessary thread block when stop called during registration.
instruments shouldn't be put in the temporary file system.I should persist for long running servers.
adding cleanup when safari can't start
Added code to shutdown device if the device is already in booted state while erasing content and settings
Print .strings file path when unable to parse it
Update com.dd.plist and handle plist parsing error gracefully.
Add instruments-without-delay for Xcode 6.2 beta 1.
SendKeys() does not only send keys but also click 'Done' #251
Removed the call to kill iOS Simulator, while shutting down device using 'xcrun simctl shutdown' command
Merge pull request #325 from kumaravel-jayakumar/erase-settings-fix

Removed the call to kill iOS Simulator
simulator has higher application size for mobile safari, need to find safari to trigger it
Correct exception which can ocurr when specifying alternate SDK version via
desired capabilities

-Fixing an issue where a ClassCastException occurs when deviceCapability.getCapability(IOSCapabilities.UI_SDK_VERSION_ALT) returns a JSONArray.
-Added a Null pointer check to avoid NPE when deviceCapability.getCapability(IOSCapabilities.UI_SDK_VERSION_ALT) returns NULL
Wipe 'system.log' under Xcode 6 when cleaning simulator.
Revert "simulator has higher application size for mobile safari, need to find safari to trigger it"

This reverts commit c44cbc403e3b35a60524e4b53ed05a77f7c1a6cf.
This seems to be causing a crash whenever a non-Safari app is connected with a "WebDriverException: You need to call register and connect first." error.
Add longer timeout to flaky issue with changing device orientation.