src/plugin.[ch]: Use a pool of write threads to dispatch values to write plugins.

This fixes Github issue #75.
src/plugin.[ch]: Remove the plugin_dispatch_values_secure() function.

Since values are now *always* copied, we don't need the secure version
anymore.