Split out value data functions into value.c and rename valuepair.c to pair.c
Useful macro
Formatting
Convert pairparsevalue to value_data_from_str which does the same thing but writes the result to a value_data_t

This makes it more useful for evaluating conditions