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"
Merge pull request #1 from Icenium/stoskov/fix-typescript-def-generator

Fix TypeScript parser: