Add CachedCouchDocumentMixin to DomainInvitation

Made DomainInvitation cacheable as per the discussion in this pull request https://github.com/dimagi/commcare-hq/pull/3828.
I've done some more poking and it looks like it might not actually be doing what I thought it was doing. I'm investigating further...