[JBIDE-15813] implemented DomainResource#equals & corrected
ApplicationResource#equals