Fix EBox::Types::Composite::cmp

To store changes when only last type is modified
Merge pull request #884 from Zentyal/ejhernandez/fix-composite-type

Fix EBox::Types::Composite::cmp