fdo#76803: Kill resourcemodel::Fraction, and use Fraction from tools instead.

Change-Id: I72d336b8aacf80f9ab6472c0948766ee56fda34f
fdo#76803: Unit test so that this never regresses.

Change-Id: Id0b883b7d7b902c1f8e41bcf39220ef74b3488bf