pointgenerator.h: Forward number of items.
pointgenerator.h: Add factory typedef.
Add factory_helpers.h, adapted from pipelining-vartpl in tpie.
Add map.h, a generic functor applier.
transform.cpp: Include header files.