Added support for automatically detecting platformName and testdroidTarget from API Device information