[Fixed] ai being able to attack their own lair
[Fixed] ai can no longer attack members of their own social group -
mantis 5368
[Fixed] pets of on leave players being able to attack opposite faction
enemies - mantis 5361

Change-Id: Ie9e9e074ec8144448e9fb55c5092d4d2efbbabe6