Add stringbuilder in loops

Analyzer and fixes
Works with while, do, for and foreach, beyond what #34 requested.