.equals and .hashCode in the core, for facet comparison

Issue#: CODE-1975


git-svn-id: svn+ssh://svn.code.sf.net/p/pcgen/code/Trunk/pcgen@18981 ef53c05b-3124-4d59-ae7d-fe3273f42be7
Change a loop for clarity - no behavior change, just cleanup & comment in prep for CODE-1925

Issue#: CODE-1925


git-svn-id: svn+ssh://svn.code.sf.net/p/pcgen/code/Trunk/pcgen@18982 ef53c05b-3124-4d59-ae7d-fe3273f42be7