Scene Delegate: fix opening URL contexts on launch
The respective scene selector is not called when the scene isn't active yet, so we need to do it manually. This fixes #1678 (closed)
Additionally, this implements the handling of NSUserActivity for the scene application flow and executes the activity if that is the reason for the application's launch.