Bug 1116467 - Part 1: treat undefined unqualified names as `*`

This really should only affect E4X, where `*` means "all elements", roughly. There might well be a better way to handle this, but I don't know it, and this works quite nicely.
Bug 1116467 - Part 2: implement many more E4X methods and fix lots of bugs

Separating this into a set of independent patchs is nigh-impossible.