embedding: address various review nitpicks for string_map
embedding: add eutil::slice_to_str() convenience function

converts a *u8+length to &str and returns c_int
embedding: replace all occurrences of slicing to &str with slice_to_str()