Move isOptimizedLibRunningMode: to XUtils.
[Doing-344]Support "CustomLaunchImageFile" preference which is supposed to be used by extra-lib plugin.
Define LaunchNotification which is supposed to be posted by 3rd party.