Added somewhat experimental support for zend MM. Effectively allows Imagick to respect PHP memory limits
Added memory limit test