UP-4142 Importing local group changes updates cached entries

UP-4159/UP-4160 Importing local group changes updates cached entries
UP-4142:  Simplify import-membership_v2-6.crn by flattening the groovy
UP-4142 Improve groovy script and comments