Move lightweight_test and no_exceptions_support to core
Create detail headers for compatibility