Lua: Various improvements

Some stuff requested by R00Kie.
Right, i see what you mean (assuming you mean CFFPlayer::FlashlightIsOn). My confusion was because a helper function to turn an int into a bool would be called something like IntToBool, not IsFlashlightOn! On closer inspection I can see the problem is that FlashlightIsIn returns an int rather than a bool. 

Minor - you could reword it to prevent dumbos like me getting confused:

 "// helper function since FlashlightIsOn annoyingly returns an int not a bool"