Fix many bugs and issues, update some queries
Fix many bugs and issues, update some queries

 - Fix issue with deleted spaces in dynamic sql, rows 436, 476
 - Fix @debug case for CS instance
 - Add @crlf variable
 - Dismiss old comments
 - Format some code
 - Extend @debug functionality

ktaranov/sqlserver-kit,ktaranov/sqlserver-kit,AlexTitenko/sqlserver-kit,AlexTitenko/sqlserver-kit,ktaranov/sqlserver-kit