mod_find is now a library function

The mod_find tool, used to execute a given script from a module, is now
implemented as a library function, and is accessible to any executables
which include generic.h and link with libkraknet.