Support on_exit for registering callbacks in ExUnit.
Merge pull request #2365 from MSch/exunit-on-exit

Support on_exit for registering callbacks in ExUnit.