[TPL] Remove internal Task constructor with TaskActioninvoker

MS did not implement the concept of TaskActionInvoker, so it is easier to get rid of it than trying to implement it.
[TPL] Fix dependency on Thread

It is easier to change the reference sources in this case, than to implement the internal API on Thread.
The behavior is exactly the same.