Fixtests

Fixes to runtests.py: 
- remove dependency on envoy (it cannot be installed by pip on Python 3)
- use a local directory tests/tmp instead of /tmp (the latter does not exist on Windows)
  - also, this makes it easier to analyze the javascript output of the test files
- fixed some bytes/str mismatch
- better diff