Handle unhandled C++ exception in test

GitHub: fix #8

I use loader-customizer new module mechanism instead of changing
cut-test.c. Because I want to avoid that libcutter depends on C++.

TODO: Iterated test isn't supported yet.

Suggested by Kazuhiro Yamato. Patch by Kazuhiro Yamato. Thanks!!!