Applied SF patch #36 from Dirk Lemstra to allow the user to supply a callback function for logging.
Support loading mgk files as Windows resource from library if MagickLibName is defined.
Add support for MAGICK_GHOSTSCRIPT_PATH environment variable under Windows.