Add JSCLASS_DOM_GLOBAL to DOM global classes, and assert it is used.

It seems unlikely that this will ever be hit, but potentially hard to
figure out if it ever is hit.
auto merge of #2295 : Ms2ger/servo/JSCLASS_DOM_GLOBAL, r=jdm

It seems unlikely that this will ever be hit, but potentially hard to
figure out if it ever is hit.