Extend singleton management to allow plugins

This patch extends the singleton manager to store a fixed number of plugins
such as `actor_io::middleman`. Furthermore, the `shutdown` function has been
moved back to actor `boost::actor` namespace.