Several updates

* add support for both build and install scripts
* make caching smarter
* add support for tarballs
bump version