Fix stubbing of native methods that return enums or primitive wrapper types
Automatically stub out all methods in several common widget base classes. This makes it much easier to write tests for widgets that don't extend Composite, since it will avoid random failures when base class methods are called.