py: Implement break and continue byte codes, and add tests.

Also fixes a bug in the for-in-range optimiser.

I hope to remove break and continue byte codes in the future and just
use jump (if possible).
Merge branch 'master' of github.com:micropython/micropython