Support SequenceExpression.
Separate out the passes so they don't confuse each other.

In particular, renaming was interfering with global variable detection.
Shim JSON.stringify.
Convert toString.
Preserve truthy semantics.

Also fix another renaming bug.
More fixes.