DCOM-243 Added check for Zend OPcache extenstion

Please check the original issue http://www.doctrine-project.org/jira/browse/DCOM-243
I think the fix might be as simple as this.