CRM-9493 - fix for group contact cache hanging.

Also minor tweak on api to treat 'submit' as transational