added lua_callk and lua_pcallk, macro cleanup