GHCi: Implement new `:show paths` sub-command

`:show paths` dumps the current working directory as well
as the current value of the `importPaths` dynamic flags field.

This addresses #8172

Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
User guide entry for `:shows paths` sub-command

This also adds an entry to the release notes section.

See #8172 for more details

Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
Make `-ddump-minimal-imports` honour `-dumpdir` flag

The `-dumpdir` flag was added via 668c860b361f16 but failed to
take care of `-ddump-minimal-imports`'s output.
This commit makes up for that omission.

This addresses #7957

Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
Update `-ddump-minimal-imports` entry in user's guide

The entry is updated to mention explicitly the feature implemented
for #7957, as well as rewording and improving the docbook markup.

Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>