Optionally write the Log to a file, too

When the ij.log.file property is set, every call to ij.IJ#log(String)
will now also write to the file specified by said property. If the
file cannot be written to, the property will be reset, though.

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