Support for non-generic Tasks

- More unit tests
- TaskCreationOptions.HideScheduler