flux-kvs: test that 'put' sets appropriate type

Check that boolean, double, int, and string are correctly
typed by flux-kvs.
flux-kvs: add tests for arrays and objects