Add build and packaging tools for PyPI

Editorialized (mostly, just squashed) by Daniel Farina.

Signed-off-by: Daniel Farina <daniel@heroku.com>
Add contributor: Kirill Klenov

Signed-off-by: Daniel Farina <daniel@heroku.com>