Correct the condition for generating CGGetConstructorObjectMethod.

As we don't actually implement the feature for which this is needed, I've
commented the call out for now and mentioned the issue for the feature.
Generate code for NoInterfaceObject interfaces in InterfaceTypes and InheritTypes.

There is no reason for those interfaces to be excluded.
Pass the interface object-related arguments to CreateInterfaceObjects2 together in an Option.

This clarifies the code and fixes our support of NoInterfaceObject interfaces.
Keep calling the DefineDOMInterface method for NoInterfaceObject interfaces.

DefineDOMInterface also creates the proxy handler for proxy classes, so it
should be called in this case as well.
Make AttrList NoInterfaceObject (fixes #1223).
Merge pull request #2683 from Ms2ger/nointerfaceobject

Fix the implementation of NoInterfaceObject.