This is a bit of a big one. I can split it up if necessary.
It deprecates various APIs which use GTimeVal or GTime. A few of them need replacements; most don’t.
Closes #1438 (closed)
This will create a new commit in order to revert the existing changes.