397443 : use adequate hashcode/equals to lookup Archetypes

Signed-off-by: Fred Bricon <fbricon@gmail.com>