check-release.pl: handle multi-module projects too

In particular, scifio and imglib contain multiple modules with their own
src/main subdirectories. So now we ask Git to enumerate _all_ src/main
folders in the working copy, and check them all.

Thanks to Johannes Schindelin for concocting most of the solution!