Move unittest::trait namespace into unittest/utility.hpp

Add unittest::repr function for a graceful fallback when printing
information.

Add test for new repr function

Remove unittest/traits.hpp