Micropython did not work because of two problems:
- the stack in ascending order on emscripten
- if optimized, some variables may be stored in local JavaScript
variables, which breaks garbage collection.
Change-Id: Ib454e0c4d995e9f5f85370eea758526119b35773
A script can now be imported in the console.
Moved all the MicroPython functions to python/port files.
Change-Id: I0a23e8cb20005719b800e81470e1c574c702c3b7