Mem tab: Change cc details

This PR adds the ability to change CC details in the membership tab.

Please see Chris Finch for more detail if needed.
No specific benefit and it is in here because we are trying to use the same script across both pieces and its in the one from membership. But yeah, it will be updated soon to become more modular and use component.js