Add internal_id to DataCard, fix possible crashing

Add new column to DataCard called internal_id for apps to track their
cards with their own ids. Patch all external references that use
ContentResolver to access extension ContentProviders. We can't trust
that third party extensions won't crash when we call out to them, so
wrap all such calls in try/catch for Exception.

Change-Id: Id944b960c9c90df5c81eff89467c2215ca5b7097