Implemented unloading modules.

Also reworked the sporkk_ping module into a generic utility module.