* Moving to PyCapsule for python 3.2+ support
* Fixing all warnings
* python2/3 compat