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.
Merge pull request #18 from jtimberman/issue-17

Fixes #17 - add a #which method