Fix WEBIDL in idltest

... and re-order it to be in the same order as in the spec.
Define constructor in idltest