DAOs: Add compareTo for DAOs that only checks identity and UIDs
DAOs: Add compareTo for DAOs that only checks identity and UIDs

This prevents broken, expensive comparisons of the internals of different DAOs.

foam-framework/foam2,jacksonic/vjlofvhjfgm,foam-framework/foam2,jacksonic/vjlofvhjfgm,TanayParikh/foam2,jacksonic/vjlofvhjfgm,foam-framework/foam2,TanayParikh/foam2,foam-framework/foam2,foam-framework/foam2,TanayParikh/foam2,TanayParikh/foam2