Invoke 'project_rename' system hook upon renaming a project

What does this MR do?

Invokes system hook for project_rename event as detailed in the system hooks documentation:

Are there points in the code the reviewer needs to double check?

Should two hooks be invoked when a project is only renamed?

  • With the old implementation project_update is invoked upon project rename
  • With the new implementation project_update and project_rename hooks are invoked upon project rename

Why was this MR needed?

Documentation was incorrect

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #30834 (moved)

Edited by username-removed-419655