Change task's ctor API

Refactored task's API so that it takes callable arguments as its own and
by that allows to omit call to std::bind().

Fixes #27