fix check for imagick #107

class_exists() triggerd __autoload and __autoload failed because Imagick.php
doesn't exists. Change function to "extension_loaded()"

Refs: #107
Merge pull request #123 from bb-Ricardo/v2.5

Fix check for imagick #107