Inside the murky world of knockoff smartphone apps and the ads that fuel them