[Core] Fix OnBoundToSolution virtual

Properly call OnBoundToSolution for internal children.
Added OnUnboundFromSolution, which is called when an item i sremoved from
a solution.
[Core] Fixed project dependency loading issue

Fixes bug #21414 - ProjectSection(ProjectDependencies) data are not being
honored, wiped on solution changes.