Fix missing cdef field in python bindings.

Fixes #19.
Use range instead of xrange in test_termboxmodule.py.

Makes it python3 compatible.