Add an easy way to run tests, and Py3 compat

```
python runtests.py
```

I've also added a commit to get the tests passing in Python 3.3.