Fix #974: Implement java.util.UUID

Re-implementation of java.util.UUID in Scala in order to be smoothly integrated with scala-js.