Added support for OnServerInitialized hook.

Added functionality to run the OnServerInitialized code when a plugin is
reloaded.