Minor performance tweaks

improved the performance and/or reduced calls to the following
expensive calls:
- Konsolidate::import: ~25% less calls and ~30% speed improvement
- glob: 80% less calls and 35% speed improvement
- Konsolidate::checkModuleAvailability: ~40% speed improvement
- Konsolidate::getFilePath: ~40% speed loss (sacrficed for the benefit
of the others)