Added support for pandas when pandas was installed directly from git trunk

pandas.version == commit_hash when pandas is installed from git trunk