implemented class Label properly, fixed Task bug

- equals, hashCode and toString methods for Label
- double name attribute in Task and in NamedObject caused XStream error,
fixed