Update more references to the old runUpdateQuery to the new
runUpdateQueryNew along with removal of the old method.

Started changing of existing runSearchQuery method calls to the new
runSearchQueryNew method calls.

Fix up issues where there is no primary group or because the permissions
plugin being used doesn't support such features.