Fix anonymous functions not auto completing

fixes #36
Better implementation of anonymous function completions

Only do completions if function is in a variable 

example 
````LUA
somevar = function()
````
will now trigger this
Merge pull request #37 from coaster3000/patch-1

Fix anonymous functions not auto completing