fix standalone debug problem

1. fix standalone version constant problem by introducing `exportLCRunConstant`
2. improve `scanLCRunDependency` logic to handle "self::ABC, self::func (" only get `func` as function, BTW, get `ABC` as constant
3. fix preg_replace_callback in `debug` function to handle $cx['funcs'][$f] correctly