Fixing 11 scary and 1 of concern issues found by findBugs. Adding 11 unit tests and also 1 validate method in the UuidUtils class.