When adding relations, use a reverse index and one event handler

Attempts to reduce algorithmic complexity of looking up potential relations added to a model's master collection by requiring only one handler  The code is not ideal in style, and could use some additional test exercising, but demonstrates the idea and has been used in my production app successfully.