Deprecate Threads subsystem & remove it from shipped configurations

* Remove references to threads subsystem
* Remove legacy threads tests (before subsystem test framework)
* add support for deprecating extensions