Jesse Baker opened merge request !172: #3548186 Resolve 500 error caused when editorFrameContext was lost during navigation at project / canvas

Changed code to stop prop drilling the context down through a bunch of components to instead use the editorFrameContext from ui state slice.

This solved requests sometimes getting made to the wrong context.

In addition I've made checks for the editorFrameContext more rigorous so specifically checking for if 'template' else if 'entity' rather than if template, else which was allowing a context of 'none' to make nonsensical requests.

Closes #3548186