Add AutowiringConfig.h to define preprocessor macros from CMake

Also fixed ordering of initializer list in AutoRestarterTest.cpp to prevent warning