Allow switching cvmfs repositories.  Also fix CVMFS_TEST_PATH to work with files, not just directories.