Enhanced trait_exists() shim
when required, autoloader is already called by class_exists