Remove 'extends NotNull' for 'js.Undefined'.

The NotNull trait is deprecated as of Scala 2.11.

This also unifies our library/ (the part that is really ours, not the overrides) between 2.10 and 2.11, so the source is the same now.