First part of fixes for PMIx packing functions:
1. Fix pmix_store_encoded handling of string datatype
2. Fix return value (out_kv) for cache_keys_locally. Was passed by value rather that by pointer.