Factor out the dask graph generator
Factor out the dask graph generator

This will be useful for the reader too. It turns the chunks of a single
dataset into a set of keys and corresponding object names and slices.

Also rename basename -> base_name to match the other *_name variables.

ska-sa/katdal