move class_exists(ZendLoaderAutoloaderFactory) before $zf2Path check based on #248

based on #248 , I think the class_exist for Zend\Loader\AutoloaderFactory check can be moved before vendor/ZF2/library check