[MERGE #2721 @leirocks] register scriptContext to the list after globalObject and javascriptLibrary are initialized
[MERGE #2721 @leirocks] register scriptContext to the list after globalObject and javascriptLibrary are initialized

Merge pull request #2721 from leirocks:etwrundown_master

while ETW kicks in, it goes through the list to do source rundown, which can hit a state that the scriptContext is in the list but javascriptLibrary/utf8sourceList is not initialized yet.
change to register the scriptContext after it's fully initialized

mrkmarron/ChakraCore,mrkmarron/ChakraCore,Microsoft/ChakraCore,mrkmarron/ChakraCore,mrkmarron/ChakraCore,mrkmarron/ChakraCore,mrkmarron/ChakraCore,Microsoft/ChakraCore,Microsoft/ChakraCore,Microsoft/ChakraCore,Microsoft/ChakraCore,Microsoft/ChakraCore,mrkmarron/ChakraCore