Remove usage of non-API methods in ContactsProvider.

Removing SubscriptionManager and TelecomManager method use which are not
part of the public or system API.
For the DB migration code, this is an upgrade path in the L timeframe;
changed to use getActiveSubscriptionInfoList which would technically
render some really old call log entries invalid on a very old and long
migration path, but I think the risk of that happening is almost nil.

Test: Build, smoke test.
Bug: 140563763
Change-Id: Ia3cb5f8177d851f3e8219557060e0956a2e31546
5 files changed