add set_action_bonus_count when attacking

Duthlet noticed this was missing.
more robust replay.cpp functions

we now add nonundoable commands at the current position instead of
assuming at_end(), this way nonundoable replay entrys like speak
can now also be added while we are not at end.
Usually playturn_network_adapter ensures that we are always
are at_end() and i didn't get any error with the previous solution
but the new solution is just more robust in case something goes wrong.

We cannot just do this for normal commands because it might
bring the replay in disorder.
We cannot add nonundoable commands at end if we aren't at end
because in that case the user would see the message again in
do_replay_handle in a mp game.
tidyup replay.cpp
more robust replaying of moves

we now set skipsighted to true if there is no fog or shroud.
The intention is that if a player uses fog=no in debugmode we still get
the same move destination in replays.
fix replay of delayed shroud updates (21986)

we have to enable the undo stack during replays to make these work. This
was accidently disabled during pr 121.
fix linger mode in mp (21985)
save replaydata of the undostack

not saving these might result in currupt replays when redoing a move
from a saved game.