make kdtree Python 3 compatible
let travis also check Python 3.2, 3.3, pypy