Set the userAgent from CFBundleExecutable if CFBundleName is not
present.

XCTest in Xcode 6.1 needs this.