bugfix: determine initial value for loop variables in all cases
bugfix: do not skip assignments or declarations for loop variables if for loop is not emitted
Merge pull request #57 from pocketgems/fix_loop_bugs

Fix loop bugs