common: New function nve_set.
* common/name-value.c (nve_set): New. (nvc_set): Use nve_set. (nvc_delete_named): New. (nvc_get_string): New. (nvc_get_boolean): New.
This function is required to allow updating a specific line. The
other new functions are backported from master