Job #19766 BUG: Stop or reload all scripts crashes interface fixed, part 3

Move the conversion of scriptName to QUrl to the beginning of
Application::loadScript. Use the scriptURLString to query the
_scriptEngineHash map.