Added hot-reloading of plugins.

Plugins can now be reloaded without having to restart the server using the `reload` command through the unix socket.