Fixes #17 - add a #which method

Adds the #which method

http://stackoverflow.com/a/5471032/7672

And uses the method to detect whether there's a tar executable.