Merge pull request #425 from jlipps/master

allow reset.sh to be called with --android or --ios if you only care about that platform
if we call startApp here we'll call it again in the main flow
factor out package/activity detection
enable getting current android activity (fixes #358)