Refactor to remove 'LogPath' module

In preparation for #21805, I stumbled across some coded that
seemed unnecessarily complex.  Since my changes for #21805
will end up interacting with some of this code, I decided
it was worth a quick refactor.  This commit removes the
`Puppet::Util::LogPaths` module and simplifies all of the
code that was interacting with it.
(#21805) Add containment path to report resource_status

This commit adds a new attribute the `Puppet::Resource::Status`
class, called `containment_path`.  The value is an array of
strings that indicates the types and classes that the resource
is contained within.  (The format is the same as what we show
in the log messages during an agent run.)

This data will be used by PuppetDB to allow queries by class,
which will return resources that are contained within the
specified class.