Use 'git rev-parse --show-toplevel' to find the repo's root-dir

Signed-off-by: Giel van Schijndel <me@mortis.eu>
Try installing __file__ first, only using `versioneer.py` as a fallback

Signed-off-by: Giel van Schijndel <me@mortis.eu>