Updated ContentProviderClientTemplate so that it can be used with either
a ContentResolver or ContentProviderClient, the latter or which is more
efficient for repeated inserts/queries/updates against the same
ContentProvider.