Bug 835972 - Display SIM PIN dialog (if SIM card locked) for apps that ...

...have 'telephony' or 'sms' permissions

This patch also fixes all other related bugs: 835967 (Dialer); 846563 (Contacts); 846574 (Settings)