Doctrine_Core::modelsAutoload method doesn't load Base classes

Added additional check in directory named `generated`