[TIMOB-11869] Moved Android detect lib to titanium-sdk module. [TIMOB-14386] Fixed up some of the iOS package logic.