References #1646: Added API to core-task-api that allows certain task factories to be observable.

Change-Id: I2ee84caaabe08a4bc484bce47dbbd00526c63ad2