add a new get_priority_ratios endpoint to the scheduler
this is necessary to make it much easier to write tests so they do not need to
execute SQL statements, which makes possible to run exactly the same tests
with the SchedulerBackend as the RemoteScheduler one (see the
following revision).