JInstallerHelper::detectType

Method to detect the extension type from a package directory