Fix appending a trimmed clip to timeline incorrect duration.

It was adding the trimmed/cut producer along with playlist entry in/out
making it double cut. Also, found and fixed bugs in overwrite and insert
as used by lift and remove undo operations.