package: tidy up LDocs, and remove unnecessary M references.

* lib/std/package.lua (pathsub, find): Remove spurious `M.`
prefixes.
(mappath_callback): Rename from this...
(mappathcb): ...to this.
* HACKING: Add LDoc style notes.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>