Merge pull request #17 from carlosmn/open-bare

Repository: report isBare correctly on open
Merge pull request #20 from carlosmn/tmpdir

Look up java.io.tmpdir for the temporary dir
Add some clojure