Partial fix for issue #158 where the compare algorithm fails when an Element has changed to a Choice or vice versa

The compare algorithm now checks if the 'type' or 'elements' property exist in the to be compared entity before accessing it, avoiding a MissingPropertyException.

A difference is created, but the description is not usable yet. Any suggestions on what a meaningful description could be?