bump version to 0.2dev
update for python 3 (and pypy builds)