_vars should be global for a script execution
Fix variable scoping

All variables will end up in _globals by default.
Variables that are locally scoped are stored in _locals.
The rest of the variables come from function arguments, these are
directly referred to by name.
Set default upvar value
Added initial tests of webserver