WIP
WIP: improved template performance
Added supertype enumeration.
Refactored invoke().
Added file templates.
Fixed a runWriteAction.
Fixed not resolving type parameter correctly.
Fixed return type's type parameters not being taken into account.
Changed new method template to raise exception like in ReSharper.
Fixed a warning.
Changed setupFunctionBody to static.
Fixed type parameters for more complicated cases.
Added type name shortening.
Refactoring.
Added class selection.
Fixed a bug where extension methods could not be added properly.
Fixed duplication of type parameters.
Fixed warnings.