add scalaz type class instances for DomainErrors and DomainError