Add a python3 template

Uses a similar deployment method as JS (package.py, basically),
which might not be a good idea, in the face of existing systems
such as setuptools and distutils, but it works and keeps the
diff with the JS template small.