Remove affiliations collection from my profile api model.
Implement UpdateAgreement command and plug into api controller PUT action.
Add validator to PurgeAgreement command and plug into DELETE api action.
Fix bugs in agreements to work without requirejs, and remove amd modules.