#24117 Added methods to hook base class to resolve local paths on disk.

This is a first step in a plan to future proof how file paths are being
resolved from publishes - by not having this logic in each hook we open
up for more advanced path resolution methods in the future. Instead of a
hard coded implementation (like now), this method could instead call out
to a core hook, or even have a more advanced scheme where for example
frameworks could register handlers (e.g. hello, I am the perforce
framework and I can resolve perforce:// urls) and this method could act
as a broker, dispatching the various path resolution calls to various
apps/engines/frameworks who would in turn contain the business logic how
to resolve them. This closes #68.