also made RNA_property_string_get_alloc() return the length of the new string to avoid having to run strlen on it after.