Added support for pandas installed directly from git trunk

pandas.version == commit_hash when pandas is installed from git trunk
Use pandas.version.short_version
Merge pull request #1185 from invisibleroads/patch-1

BLD: Add support for installing when pandas is a shallow clone.