Merge pull request #12 from mephinet/master

Use svn cmdline tool to detect svn working copy
Merge branch 'master' of https://github.com/bradfitz/shipit
detect git when in subdir