Fix vlucas/spot2/#31 - Custom setter breaks Entity::isModified()

Loop through all properties in _dataModified array and check if value
has really changed. Includes tests.
Merge pull request #32 from tuupola/31-custom-setter-and-is-modified

Fix #31 - Custom setter breaks Entity::isModified()