TRUNK-4393: Allowed entry of Duplicate Concept Reference Terms if one is retired

Updated getConceptReferenceTermsByCode() to return non-retired terms

Added test to assert retired state of concept ref term as recommended by wluyima