add python3 support to pythonPackages

Following adds python3 support to `pythonPackages` (and pypy can be now also added easily.).

- upgraded setuptools
- added some fixes to python3.x builds

@garbas @chaoflow @cillianderoiste thoughts?