Adjust image facade to detect imagemagick version.

Should fix #1080. I'm not sure that detection within the facade is the best paradigm though.