module loading: the path of the module is genrated inside load_lib
modules name list: the name list is always filled
modules path: create a new global variable with the directory path
module path: the internal functions use g_mods_path
modules name: add name member variable of modules

this patch stores the module name inside the struct _pilot_mods_internal
and add new function get(char *name)
name list: this list is useless now
lazy mode: in lazy mode the module is loading anly when it's required
appid: this value is stored in global