UUID Validator

Check whether a string is a valid UUID and detect its version.