TRUNK-3826: Bug in PersonAttribute.compareTo

All the lines above could have been replace by:

int revValue = OpenmrsUtil.compareWithNullAsLatest(getAttributeType(), other.getAttributeType());


I will fix it as i merge the code