Fix #974: Implement java.util.UUID

Re-implementation of java.util.UUID in Scala in order to be smoothly integrated with scala-js.
A neg test or two would be good (test that giving an illegal string throws).