Removes build artifacts and backup files from a project.