Optimize uuid_to_string/2 functionality.  Add tests for uuid_to_string/2.