Reword the code of ranker to use glicko2. Work in progress.

Currently, we have not yet implemented the correct interface for opponent structure.
Once we have done that, we can use the new glicko2 ranker with the code given here.