tools/tinytest-codegen.py: Generate code for upytesthelper.
tools/tinytest-codegen.py: Generate code for upytesthelper.

The way tinytest was used in qemu-arm test target is that it didn't test
much. MicroPython tests are based on matching the test output against
reference output, but qemu-arm's implementation didn't do that, it
effectively tested just that there was no exception during test
execution. "upytesthelper" wrapper was introduce to fix it, and so
test generator is now switched to generate test code for it.

Also, fix PEP8 and other codestyle issues.

trezor/micropython,selste/micropython,adafruit/micropython,selste/micropython,ryannathans/micropython,kerneltask/micropython,infinnovation/micropython,henriknelson/micropython,trezor/micropython,MrSurly/micropython,selste/micropython,MrSurly/micropython,ryannathans/micropython,pramasoul/micropython,dmazzella/micropython,MrSurly/micropython,swegener/micropython,henriknelson/micropython,swegener/micropython,infinnovation/micropython,infinnovation/micropython,MrSurly/micropython,dmazzella/micropython,adafruit/circuitpython,blazewicz/micropython,kerneltask/micropython,adafruit/circuitpython,adafruit/micropython,ryannathans/micropython,tobbad/micropython,adafruit/circuitpython,trezor/micropython,adafruit/micropython,kerneltask/micropython,kerneltask/micropython,pramasoul/micropython,tobbad/micropython,infinnovation/micropython,henriknelson/micropython,pramasoul/micropython,tralamazza/micropython,trezor/micropython,pramasoul/micropython,trezor/micropython,tralamazza/micropython,adafruit/micropython,pozetroninc/micropython,pramasoul/micropython,tralamazza/micropython,pfalcon/micropython,adafruit/circuitpython,selste/micropython,MrSurly/micropython,adafruit/micropython,pozetroninc/micropython,ryannathans/micropython,blazewicz/micropython,blazewicz/micropython,pozetroninc/micropython,pfalcon/micropython,tobbad/micropython,dmazzella/micropython,pfalcon/micropython,dmazzella/micropython,pozetroninc/micropython,swegener/micropython,swegener/micropython,adafruit/circuitpython,bvernoux/micropython,henriknelson/micropython,kerneltask/micropython,adafruit/circuitpython,ryannathans/micropython,bvernoux/micropython,blazewicz/micropython,selste/micropython,pozetroninc/micropython,tralamazza/micropython,blazewicz/micropython,swegener/micropython,tobbad/micropython,pfalcon/micropython,pfalcon/micropython,tobbad/micropython,bvernoux/micropython,henriknelson/micropython,bvernoux/micropython,infinnovation/micropython,bvernoux/micropython