API Marked statics private, use Config API instead (#8317)

WORK IN PROGRESS

Relies on https://github.com/silverstripe/sapphire/pull/1320 and https://github.com/silverstripe/silverstripe-installer/pull/31