Fix #974: Implement java.util.UUID

Re-implementation of java.util.UUID in Scala in order to be smoothly integrated with scala-js.
For continuation lines inside parentheses, use an indentation of 4 instead of 2.

Do not use `case`. `foldLeft` takes a function with 2 arguments, not a function with 1 tuple argument.