Fixed a bug in ScriptingCore::evalString not setting the outval.

Talked to @ricardoquesada and @rohankuruvilla about this and the fix is apparently the proper way to do this.