librdf_hash_to_string function

Format the hash as a string, suitable for parsing by librdf_hash_from_string.