Problem: Code for zuuid_formatted_str is not quite idiomatic

Solution: Return a freshly allocated string instead (and adjust whitespace)
Incidental: Fix memory leak in zhash selftest