Add Python 3 support

Hi guys!

This pull request adds Python 3 support in addition to Python 2.

Tested on Python 2.7 and Python 3.3 using Cython 0.19.