Remove orphaned attributes when losing affiliation

Some attributes are sepecific to an affiliation like the department
attribute and the employee affiliation. This will clear out those fields
when a person no longer has an affiliation that includes that attribute.

TROG-40
Stub web requests in tests
Merge pull request #3 from biola/clear_orphaned_attributes

Remove orphaned attributes when losing affiliation