Refactor _load_plugins

Move configuration validation into `confit`. Get rid of dependency on
global configuration object.