Add CachedCouchDocumentMixin to DomainInvitation

Made DomainInvitation cacheable as per the discussion in this pull request https://github.com/dimagi/commcare-hq/pull/3828.