Bug 910220 - Part 1: Add friend API for determinining whether we're in a strict-mode script. r=waldo, a=bajaj
Bug 910220 - Part 2: Use the new API in codegen to only throw when needed. r=peterv, a=bajaj