renamed the function to add  framescheduler workunits to be in line with the other names
Merged changes from DAGFrameScheduler which include a couple erase functions and tests to show they work