Rename argument to avoid bug in Safari 5.1.

Argument 'state' in 'set state' cause Safari 5.1 to throw erroneous error

Fixes #1535

Review URL: https://api.github.com/repos/google/traceur-compiler/issues/1537

Closes #1537, closes #1535.
Support environments with both window and global

Fixes #1340
Closes #1377
merge conflict