Change default script scope to global.

With Microsoft's PowerShell the following:

    Pipeline.Commands.AddScript(script);

is equivalent to:

    Pipeline.Commands.AddScript(script, useLocalScope: false);

Added a reference test for check this behaviour.
Merge pull request #220 from mrward/script-default-scope

Change default script scope to global.