initial fcntl support
add getppid, fix F_SETLK table handling, and try to use integers as much as possible in preparation for Lua 5.3
add flock example
fix messages in flock.lua