Drop IdlEnum.prototype.test function. Not needed.

The IdlEnum.prototype.test function isn't necessary. It causes additional
spurious/useless PASS messages in the test results despite the fact it's
not actually testing anything and so nothing is actually passing.
Make idlharness.js support typedef. r=zcorpan