feat: all dependencies of root package contribute to global hash (#8202)
### Description
With this PR we will now factor in all root dependency changes. Not just
external packages.
Internal packages are handled by hashing all of the files contained in
the package directory that aren't gitignore'd.
This does have performance implications as we can end up globwalking
these directories multiple times and hashing the files multiple times if
they end up as task inputs. This will be addressed in a future PR.
### Testing Instructions
Added integration test that displays new behavior