Converted to run on Python 3 - all tests passing

These changes got everything working in Python 3.3. I tried testing it with 2.7, but my 2.7 install is acting up an I could not run nose.

Thanks for all of the tweaks and fixes you've made!