Took out print statement that was causing extends list in interfaces being
printed twice in the output.
Added in checks for if the module being parsed is a class itself. This is
the case for the base Ext class in ExtJS. It may not be the case for other
frameworks, so the logic will need to be looked at when other frameworks
are translated.