Fix the packaging setup.

- ship the docs, templates, README.rst and other things in the sdist
- install more than just the top package but all of its subpackages, too
- fix license used in setup.py