Split out shrub/shrub.core so we can run the config/run hooks during unit testing