Added package protected default constructor to allow reflective instantiation.

Signed-off-by: Dennis Nobel <d.nobel@external.telekom.de>
Changed equals and hashCode method at GenericItem to use name only.
Added equals and hashCode method to ThingImpl based on UID only.

Signed-off-by: Dennis Nobel <d.nobel@external.telekom.de>