In the debugger's doc command, use man[13]direxp instead of man[13]dir.

Without this, the doc command won't work when perl is configured and installed
with a prefix starting with ~
Remove the hard-coded list of "perl" manpages from the debugger.

Instead, use the directory of installed pod files to work out whether the
page name the user typed should have "perl" prepended.