BLD: move perf_HEAD functionality into test_perf. -H arg
BLD: fix path handling in test_perf
BLD: test_perf will read BUILD_CACHE_DIR from .build_cache_dir if it exists