Allow owner_id to be a case sharing groups id

Fixes http://manage.dimagi.com/default.asp?79249