add globalExists method to check whether a global exists, and pop errors off the stack in invoke*Function methods in LuaGlue class. ref #73