Add lstat function to lua interpreter
In previous implementation lstat could been called from lua via appending another argument to stat. Instead of that we have now lstat as function directly in lua, and previous additional boolean argument is now C function argument. Probably better would be to use C closures, but this would add too much complications and would be currently used only by one function. In future it might be better to use closures if more such functions were implemented.