Implementation of missing loops, break, and continue

Support for
* Do while
* Do until
* continue
* break

Moved and added tests to ReferenceTests.