Fixed GHUNIT_AUTOEXIT supprot for iPhone

exit() does not seem to work for me.
Switched to exceptions for better continuous integration experience.