More python3 bugs being squashed

- bumping dependency versions
- using examples to explore python3 bugs
- checking that the example code works under python3
Basic twisted support now functioning