Get isSimPresent() directly from Telephony

Instead of caching isSimPresent in Wifi, directly call the Telephony API to
query if a SIM card is loaded.

Also reset identity/anonymous identity of Wifi networks using SIM-based
authentication when the SIM card is removed rather than when the SIM card is
inserted, to support multi-SIM use cases.

Bug: 130875004
Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Test: On a device with multiple SIMs, connect to a EAP-SIM network using
one SIM, then remove that SIM. Wifi network should disconnect and not
re-connect.

Change-Id: Id878c0402e3611b9f23c09bf8df87ab0a0ef8e60
12 files changed