Fix for #24987 - New format hook resolution with old-style defaults.
- Fixed hook resolution for old-style default_value's in the app manifest when used with a new-style hook format in the config
- Fixed case where app manifest specifies a new style hook and the config setting is set to 'default'
- Added unit tests for both cases
Closes #65