Apps can control how they exit

Companion to: Gracefully exit the app

https://github.com/calabash/calabash-ios-server/pull/69