Add symlink_list function to gitfs

This will allow file.recurse states with keep_symlinks=True to work
properly in gitfs.
Simplify path munging logic