ZF2-168: Strict checking in \Zend\Loader\AutoloaderFactory

Description

Zend\Loader\AutoloaderFactory::factory() Goes through all supplied options, and registers $class as an autoloader, however we do not check if it has implemented SplAutoloader.

Comments

I'm also tackling the code underneath it, which is a bit redundant.

Edited, and sent pull request. https://github.com/zendframework/zf2/pull/802