fixed absolute index in LuaRef::tostring

the tostring function was using a absolute index
instead of -1 which lead to the wrong value being
read to a string and potentially resulting in a
exception when assigning NULL to std::string.