Scheduler plugin configuration

Refactor scheduler factory to use plugins style similar to credentialprovider and cloudprovider for configuring priority functions and fit predicates.
Oh never mind, DefaultProvider is a variable declared at the scope of the factory package. I was getting confused because the receiver is called factory, but also the package is called factory.