Warn about assignments to undefined (bug 997186)

https://bugzilla.mozilla.org/show_bug.cgi?id=997186

This will warn the user when assigning to `window.undefined` (this used to result in a python error).