Code to download and make an ePUB

First iteration.
Code from:
https://gist.github.com/olasitarska/4104455