Pass a connection handler to plugins when polling
This branch refactors the polling code to pass a connection handler to plugins when polling, rather than the connections being passed to the PluginCallback. This will allow us to pass a different handler when polling for connections to pending contacts, without adding a second polling method to the plugins.
The poller is now constructed by Dagger rather than by the PluginManager.
Part of #1232 (closed).