strip ".git" from the cargo dependencies

This matches the pattern from a couple other libraries, and avoids
a bug.
Merge pull request #26 from erickt/master

strip ".git" from the cargo dependencies