Added template parameter 'Executor' to scheduling_adaptor.

Added the template parameter 'Executor' to the
scheduling_adaptor class so that it can accept any executor.
Without this wrapping a thread_pool would have required another
adaptor.