Handle exit messages from tests in ex_unit

Fixes #982
Merge pull request #985 from ericmj/exunit_exit

Handle exit messages from tests in ex_unit