Verify that Object.getPrototypeOf(module) is null

Fixes #763

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

Closes #767, closes #763.