Added the ca_format_time_float4 function

This function allows buildling time/float4 arrays into memory.  CA_put_integer
was also renamed to ca_format_integer and made part of the public interface.

Signed-off-by: Morten Hustveit <morten.hustveit@gmail.com>
Update ca_table_merge to use struct iovec only in callback

Previously, it also passed a const char * for the key.

Signed-off-by: Morten Hustveit <morten.hustveit@gmail.com>
ts-merge: Correctly merge time/float4 data with new backend behavior

The write-once table backend no longer merges adjacent rows with identical
keys, so we have to merge them in ts-merge.c instead.

Signed-off-by: Morten Hustveit <morten.hustveit@gmail.com>
table-backend-writeonce.c: Added missing test for malloc failure

Also free t->prev_key when the table is begin freed.

Signed-off-by: Morten Hustveit <morten.hustveit@gmail.com>
Merge branch 'master' of https://github.com/mortehu/cantera-table