adding factory hooks
improvements
moving prerun hook into manager and moved sm initialization to module.php
more improvements
provide a way to override direct classes like Zend\Db\Adapter\Adapter
added adapter key in db driver config, zftools finally working