Inject remote functions earlier after frameNavigated instead of loadEventFired
code review comments. change frameNavigated handling from one to on to handling page navigation within the current project.
Merge pull request #6997 from adobe/jasonsanjose/live-preview-errors

Inject remote functions earlier after frameNavigated instead of loadEventFired