ndf: Add new routine to copy history

Previously, propagation of input History could only be done if the output
NDF was created by NDF_PROP. The new routine NDF_HCOPY allows history to
be copied from one NDF to another, thus allowing propagation of history
for applications that create the output NDF using NDF_CREAT or NDF_NEW.
smurf: Propagate History from first input NDF to MAKECUBE output NDF