Fixed task engine not properly cleaning up dependent and read relations when a task is removed.
Added persistent dynamic dependencies on import closure tasks.