Use lua_pushlstring instead of lua_pushstring

lua_pushlstring allows us to provide the string length, which we already
have in std::string objects. This saves a strlen call on the pushed
string. result.getAllData was also removed as it was only added for
LuaSQL backwards compatibility that we no longer have.