Initial py3k fork

Bare minimum of effort needed to get tests passing on python 3.3