Use correct check for pixelmask constants.
Add test for setImageMask and 'fix' missing declaration.
Add Imagick::setImageMask(Imagick $clip_mask, int $pixelmask_type) and Imagick::getImageMask(int $pixelmask_type) methods.