Simplify batch_reindex by extracting batch_fold helper

Introduce new helper module chefp (chef + FP = chefp) for functional
programming helpers. Currently only contains batch_fold which will
fold over a list partitioning it into user specified batches.
Add ez_reindex_direct/2 to reindex to solr without rabbitmq

The ez_reindex_direct function bulk_gets all objects of the specified
type, does flatten/expand, and POSTs the data (in batches of size
matching the bulk_get batch size) to solr.

Add helper all_ids_from_name_id_dict/1 and decompress_and_decode/1.