Fix/4.0.x/ecms 5572

Problem analysis:
  - when selecting new membership in Manage Lock screen, the lockcache is updated with lasest tokens of all locked nodes for new membership
  - But when removing a membership, the lockcache is not updated to remove cache item(s) of removed membership

Solution:
  - After removing a membership, the lockcache should be updated coresponding to lastest lock settings of Manage Lock screen
  - when unlocking a node, if membership type of a lock setting is '*', all membership types of specific group have permission to unlock