testApp/MainWindow: Fixed Qt4 compilation.
GeneratorNG: Extracted readTypes() method.
GeneratorNG: Extracted solveTypes() method.
GeneratorNG: Futher refactor.
GeneratorNG: Added initial implementation for methods generation.

Enabled only for messages methods for now.
Small refactor. Prepairing to code generation.
Gen fix
CTelegramStream: Added TLInputEncryptedChat write operator.
GeneratorNG: Code extracted to GeneratorNG class.