Version now contains git commit ID

Thanks to some code borrowed from pandas, setup.py now reports the development
version of xray as something like "0.1.0.dev-de28cd6".

I also took this opportunity to add xray.__version__.