WL-2316 When a group is deleted don't return null.

The problem was that when a group is used in content hosting and is then deleted it was getting returned in some calls as null. This was causing a NPE in some cases.
Merge pull request #10 from ox-it/WL-2316

WL-2316 Don't return null groups.