Fix ignore regex so it does not match the .gitignore file.
Add test directory symlink.
Remove logic to always exclude the descriptor as it may be used by a
deployed program.
Add logic to obey exclude patterns in a .xpmignore file.