Path efficiency improvement

Prevent excessive reuse of $this->root_dir, pass full path to getClassesFromDir().
Use user customable _PS_CACHE_DIR_ and _PS_OVERRIDE_DIR_ as path base.

_PS_HOST_MODE_ is not needed to determine override folder, because the user can directly customize _PS_OVERRIDE_DIR_ from config/defines.inc.php