equals method and unit test added for EMProperty and EMTerm classes.

This equals method required for duplicate metadata issue for AA Product Line [DS-8111]
Please can you make this a bit more robust i.e. check that emProperty is not null first