Add a helper script to clean up .gitignore files

Yours truly uses this script to clean up Fiji's .gitignore file.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>