[core] updated UUID to use it's own UUID implementation if one was not available from the ruby lib.