CRM-13234 make profile.submit transactional
changes to group contact cache behaviour that worked on AUG to fix performance bottleneck

Conflicts:

	CRM/Contact/BAO/GroupContactCache.php
Merge pull request #1544 from eileenmcnaughton/master

CRM-9493 - fix for group contact cache hanging.