Add new option `-resetSimulator`. Reset simulator if (un)installation fails.

New option tells xctool to reset iOS simulator content and settings and restart it before running every app test run.

Sometimes iOS simulator fails to install or uninstall test host app. If that happens we were retrying 3 times before failing, now we are additionally resetting simulator content and settings folder after each attempt.
Merge pull request #353 from facebook/nekto/clean_sim_folder

Add new option `-resetSimulator`. Reset simulator if (un)installation fails.
Update Version.m
Make it clear Xcode 5 is required
Add user notifications reporter which sends notifications to NSUserNotificaitonCenter after an action succeeded or failed.

Examples of notifications:
https://dl.dropboxusercontent.com/u/6872784/tmp/xctool/xctool_notification.png
https://dl.dropboxusercontent.com/u/6872784/tmp/xctool/xctool_notifiction_center.png
Add new flag to run-tests/test action: `-listTestsOnly`

Sometimes we want just to get list of tests that are going to be run and don't actually run them. This flag will simulate testing and return "success" for all tests as if they were run and passed.
Merge pull request #346 from facebook/nekto/add_notifications

Add user notifications reporter which sends notifications to NSUserNotificationCenter after an action succeeded or failed.
Update Version.m

Bump version as 0.1.15 is already released.
Merge pull request #356 from facebook/nekto/add_list_tests_flag

Add new flag to run-tests/test action: `-listTestsOnly`
Add install action.
otest-query: when we dlopen, use RTLD_LAZY instead of RTLD_NOW.

Summary:
This fixes an issue I'm seeing... where a framework referenced by my
tests actually references a symbol that does not exist.

Because of this, I'm getting ...

```
Failed to query the list of test cases in the test bundle:
dlopen(/var/folders/v2/b9w9xt6j1n79c8qjxhkvftmc000xbj/T/build-outputYYP4rr/Products/Debug/IntegrationTests.xctest/Contents/MacOS/IntegrationTests, 2): Symbol not found: _SecCertificateGetSHA1Digest
  Referenced from: /Applications/xcode_5.1.app/Contents/Developer/../SharedFrameworks/DVTFoundation.framework/Versions/A/DVTFoundation
  Expected in: /System/Library/Frameworks/Security.framework/Versions/A/Security
 in /Applications/xcode_5.1.app/Contents/Developer/../SharedFrameworks/DVTFoundation.framework/Versions/A/DVTFoundation
```

In the above case, DVTFoundation references `SecCertificateGetSHA1Digest`, and
that symbol is supposed to be in Security.framework, but it's not (at
least on OS X 10.8)

By switching to RTLD_LAZY, dyld won't bother binding every single
function, and we'll never encounter the error.

There shouldn't be any negative consequences by this change - we're just
delaying the binding.  In fact, I wonder if it'll make otest-query a
little faster since we'll skip binding.

From the dyld man page --
```
   RTLD_LAZY   Each external function reference is bound the first time the
               function is called.

   RTLD_NOW    All external function references are bound immediately during
               the call to dlopen().
```

Test Plan:
With this patch, I ran xctool against my project and it now works.
Merge pull request #360 from ianyh/master

Add install action.
Added support for -resultBundlePath argument to xcodebuild.
Merge pull request #364 from jacobrelkin/jacobrelkin/result-bundle-path-support

Added support for -resultBundlePath argument to xcodebuild.
Print out reporter path for debugging
Update Version.m
Handle spaces in path. Fixes #357. Thanks @g--n
Fix crash with appendDataToBuffer appending a nil NSString
[refactoring] Move all interactions with simulator to Simulator* classes.

Summary:
Introducing 3 new classes that encapsulates interaction with simulator apis:
1) SimulatorInfo - for retrieving simulated device information, like architecture, device family, sdk version. Also this class could be used to retrieve available devices, sdks and etc.
2) SimulatorUtils - provides methods to kill all simulator processes and to clean simulator data.
3) SimulatorWrapper - encapsulates installation and uninstallation of applications. Also provides convenient method to run tests.
Merge pull request #370 from Zehhu/data_to_buffer_crash

Fix crash with appendDataToBuffer appending a nil NSString