Bug 821578 - Part 1: support data call with multiple APN in external/qem...

1. Fix a previous bug where we use the same index in a nested loop.
2. Do not use dns_addr for dns, cause now it is the loopback address, and emulator data connection does not work with it.
3. Allow dynamic cid with "D*99***" command.