Add GPL3+ license statements
Various improvements and bug fixes

* Add pristine-tar support
* Only download needed versions
.. and other stuff i forgot