Adding schedule_thread hook for actions and components
Fixing a copy/paste mistake. Adding example demonstrating the new functionality
Fixing test, this closes #1089: Components should be allowed to have their own executor
Merge branch 'fixing_1089'