ENH: Add git versioning

Ready for review/merge. Tests pass over here and on Travis.

Closes #126.
Whoops!