Start work on python port

Ported most of app.js
Add settings port
Switch to lambda instead of defining a new function
Add import of builtins
Remove builtin imports

Weþy now automatically imports them as a normal Python implementation
would.
Merge branch 'python'