Part of SGScriptScanner

1. Send SGScriptReader instance to SGScriptScanner, instead of init it
by string.