Fix #974: Implement java.util.UUID.

Except `UUID.nameUUIDFromBytes`, because that relies on computing an MD5 or SHA-1 hash.
I'll just assume you figured this out correctly by some means.