Populate the $MANPATH environment variable in addition to /etc/paths and...

... /etc/paths.d from /etc/manpaths as well. Fixes #1092.