BLD: Handle version like pandas. Meh.
Merge pull request #43 from danielballan/version-edits-like-pandas

BLD: Rework code that gets version number from git (if available).