Initial version of libgames-scores

Fake pull request for initial review of libgames-scores.

Hint: scroll down towards the bottom to get to the newer comments.
I think you need some comment to indicate why we care that `window != null`. This looks suspect.

We should probably allow games to create a score dialog without a parent window anyway. It's discouraged, but a future game might have a valid reason for doing so (if it's a multi-window game, for instance).