merge Bin Li's modification

* Modified a few lines for Lua 5.2.1
* Added symbol partial match to call C++ functions
* The symbol partial search can be disabled by removing
* #define INCLUDE_SYM_PART_MATCH