add param permanent to remove_integration function

Since some mod authors uses the same vars for installing/uninstalling a hook, remove_integration_function needs to have the same params an the same order add_integration_function does. Otherwise the hook will not be uninstalled.