[TIMOB-5823] Fixed environment detection lib to check old version.txt for older SDKs. Renamed devices to iOSDevices to avoid naming collisions with other platforms. Fixed pkginfo to accept a path instead of a module.