Improved subproject compatibility

This commit set allows using `versioneer.py` when it or `setup.py` doesn't reside in git's top-level directory.