Fix null level uses in mk_mplayer()

This bug also exists in upstream NitroHack and NetHack4.
Use correct level in mk_artifact()

This bug also exists in upstream NitroHack and NetHack4.
Use right level in m_initthrow()

This bug also exists in upstream NitroHack and NetHack4.
Pass right level to mksobj()

Without this, crashes can occur if mksobj() ever tries to use the lev
argument it's passed.  This fixes the mksobj calls in:

 * mongets()
 * mkmonmoney()
 * m_initinv()
 * mkcorpstat()
 * mk_mplayer_armor()
 * mkroll_launch()

Most of the fixes assume that objects made for monsters should be made
on the same level as that monster, which seems like a safe bet.

This bug also exists in upstream NitroHack and NetHack4.
Fix buffer overflow with long msgs sent to pline()

Without this fix, overly-long messages such as feedback from max-length
wishes, causing a buffer overflow, stack smashing, memory corruption,
etc.

This bug also exists in upstream NitroHack and NetHack4.
Fix unrestored door locked/trapped status

Oops, my bad.  This was being saved fine, just forgot to restore it too.

This is meant to go with commit cc784daa52 (NH4: Track knowledge of door
locked/trapped status).
Record player's wish input, unmangled

The wish parser may alter the player's original wish input, leading to
the history listing recording said wishes with certain parts cut off or
excluded.

This bug also exists in upstream NitroHack.
Add cornuthaum charisma bonus to calc_attr_bonus()

Cornuthaums are supposed to give +1 charisma to wizards and -1 charisma
to everybody else, but NitroHack's calc_attr_bonus() doesn't account for
this.

This bug also exists in upstream NitroHack and NetHack4.
oprops: Magical object properties (from GruntHack)

e.g. short sword of fire, bow of detonation, cloak of magic resistance
and reflection.

Properties can be found on weapons, armors, amulets and rings.
Properties can be found randomly or wished for (with restrictions).

This is a huge change, see doc/README.oprops.md for full details.