Added xtype and singleton support.
Drop a bit of commented cruft.
Fix requireSuper handling, try to automatically determine when to require parent by default... but still leave it up to the caller to force true or false.
Use Ext.apply to customize prototype instance.
Use local field ref instead of 'this' ref for className