Set dunlev_ureached sensibly for upward branches (NetHack4)

Also output a historic event log for any newly-visited level.

Ported from NetHack4, credit to Jared Minch.
Punishment no longer stops you from displacing pets

An attached iron ball and chain no longer prevents swapping positions
with your pets when you choose to move into them.