Generate RFC4122 UUIDs and use in randStr

The previous uuid code seemed a bit wonky and non-RFC compliant.

After applying this, as an added bonus #61 seems to go way (for me), suggesting the previous randStr implementation wasn't so random after all