Expose _terminateWithStatus: via category

Fixes compilation errors on Xcode 5.1
Fix applescript for cucumber tests on Xcode 5.1