Using a reentrant flag for contacts in AFFL_Affiliations_TDTM.

Fixes #282. I have tried to be very careful and make sure no functionality was affected with this bugfix. As far as I can tell the different sections in the AFFL tests should be different contexts, and thus manually resetting the reentrant flag is ok.