Add an archive action
Fix detection of when a build is needed with better git fu
if a target name included spaces, we'd crash when running tests.

This fixes part of issue #19.  The target name was "Mantle Mac Tests",
but internally we thought the target name was "\"Mantle Mac Tests\"".
xcodebuild's -showBuildSettings will quote target names with spaces and
we need to account for that.
sometimes 'run-tests' would fail with OS X logic tests.

otest-shim watches for the SenTestingKit framework to get loaded before
it does its swizzling.  In this case, the framework path we were
watching for was overly specific.

We were waiting for...
  '.../SenTestingKit.framework/SenTestingKit'
But, the image path was...
  '.../SenTestingKit.framework/Versions/A/SenTestingKit'

... and so we were never swizzling.

This is part of a fix for issue #19.
Merge branch 'master' of git://github.com/facebook/xctool into feature/xunit-reporter