Fix for missing @class directives in SimulatorHost classes
Set the same environment values for iOS App and Logic Test Query. Clean main.m of otest-query-ios.

We have found that sometimes we couldn't query tests because 'SenTest' or 'XCTest' frameworks start running them. When it happens we can see errors like this:

  Failed to query the list of test cases in the test bundle: Error while parsing JSON: The data has been corrupted.: {
      stderr = "2014-03-26 11:08:27.405 sim[8792:707] /Applications/xcode_5.0.2.app/Contents/Developer/Platforms/iPhoneSimulator.platform/usr/bin/sim: Simulator does not seem to be running, or may be running an old SDK.\nTest Suite 'All tests' started at 2014-03-26 18:08:28 +0000\nTest Suite 'All tests' finished at 2014-03-26 18:08:28 +0000.\nExecuted 0 tests, with 0 failures (0 unexpected) in 0.000 (0.002) seconds\n";
      stdout = "";
  }

Before we were trying to load the same code in otest-query-ios[osx] and otest-query-lib-ios[osx] but in some cases (especially when testing large code base) xctool wasn't able to query logic tests. It was found that by clearing main.m and not loading OtestQuery in it but dynamically loading otest-query-lib-ios[osx] as we are doing in case of application tests xctool could successfully query tests.
Count ocunit failures as errors in overall test results

We are printing ocunit failures in Failures section but are not counting them as errors in overall test results which could lead to such kind of messages:

  ** RUN-TESTS FAILED: 466 passed, 0 failed, 0 errored, 466 total **

To improve the message we are now counting ocunit failures as errors:

  ** RUN-TESTS FAILED: 466 passed, 0 failed, 30 errored, 496 total **
Merge pull request #350 from facebook/nekto/improve_errors_counter

Count ocunit failures as errors in overall test results
Merge pull request #348 from facebook/nekto/fix_test_querying

Set the same environment values for iOS App and Logic Test Query. Clean main.m of otest-query-ios.
Merge pull request #347 from testzugang/fix_class_directives

Fix for missing @class directives in SimulatorHost classes
Swizzle +[NSObject senIsSuperclassOfClass:]

SenTestingKit has a fairly slow implementation of testing
whether one class is a superclass of another:
http://www.quantum-step.com/download/sources/mystep/OCUnit/SourceCode/SenTestingKit/NSObject_SenTestRuntimeUtilities.m

This adds a swizzle for that method that speeds up otest-shim.
Use SenIsSuperclassOfClassPerformanceFix in otest-query

otest-query uses SenTestingKit's API for determing which test cases
exist, so the +senIsSuperclassOfClass: swizzle helps performance for
it as well.
Merge pull request #349 from facebook/swolchok/sen-is-superclass-of-class-perf

Swolchok/sen is superclass of class perf
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