map and starmap implementations passing additional arguments and parallelizing if possible
copied from cf-staging / parmapparmap is a simple package that provides map and parmap implementations, passing additional arguments and managing the multiprocessing pools if desired.