Fix #974: Implement java.util.UUID

Re-implementation of java.util.UUID in Scala in order to be smoothly integrated with scala-js.
Allocate one `Random` instance as a `private val` in the object.