cmake: Add cmake 3.0 compatibility check

From bioformats develop.
cmake: Write build.py output to files

Suppresses output when running cmake directly.
cmake: Add debug-ice-generation option

Displays results of ice source generation and globbing for
debugging purposes.