Added support for escaped special characters in luapattern_to_js()  function
lua_gmatch_next() now correctly returns the capture (if any in the pattern) instead of the whole match
Fixed string.gsub() when the pattern must match at the end of th string (only partial support, several cases will not work)