Reuturn information about content providers and permissions when calling
getPackageInfo(name, PackageManager.GET_PROVIDERS).

Closes #1222. Fixes #1210.