Let auto-complete work in function calls with "." in them

This let's auto-complete complete the string "table.co" with the
correct candidates (in this case just "table.concat"), when previously
it would try to auto-complete the "co" (it would consider the "." as
separator).