(mco-166)(packaging) Remove Fedora 18 from the default package builds
Merge pull request #165 from shrug/maint/mco-166/2.4.x

(mco-166)(packaging) Remove Fedora 18 from the default package builds
(MCO-221) - Refactor the runner class

The commit refactors the Runner class in the following ways.

The #run method has been reworked into #main_loop and #receiver_thread.
The main loop is responsible for keeping track of the internal state of
the runner and spawning and controlling the receiver thread.

The windows_daemon has been reworked to use the new main_loop and can
now stop, start, pause and resume correctly. When the daemon is paused
the service is still alive and will continue to process any agent
actions in flight but it will also disconnect and stop the receiver
thread, thereby keeping its internal state and being truely paused.

This commit also adds a new configuration option called soft_shutdown.
This is a Unix only feature and will not work on Windows hosts and when
set it will delay the exit of the daemon until all running agents have
either ran to completion or timed out.

This commit also asserts that when implementing registration plugins,
the #run method MUST return a thread if overridden.

This commit also extends the test coverage for the Runner class.
Merge pull request #176 from ploubser/improvement/master/mco-221

(MCO-221) - Refactor the runner class
Merge remote-tracking branch 'origin/2.4.x'