Added methods startBreakable and endBreakable for the logic used in
compilation of while-, for-, and for in statements. Replaced duplication
in these statements with usages of these methods.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>