Fix TypeScript parser:

 - create default constructor for classes if not defined
 - ignore IndexMemberDeclaration
 - handle GenericType
 - support module and class with same name on same level
 - fix constructor parameters parsing
 - handle module declared "declare module moduleName.submoduleName"