Scheduler plugin configuration

Refactor scheduler factory to use plugins style similar to credentialprovider and cloudprovider for configuring priority functions and fit predicates.
okay.