Not allowing "DOMClass.new" on classes that don't have constructors.
Fixed a warning about using an uninitialized attribute.
Added an == operator to the DOM classes. It doesn't check for ancestors, so the classes must be identical.