CORE: fixed attribute initialization

- Fixed name of lastSynchronizationState attribute.
- Fixed insert for attributes to handle also displayName
Merge pull request #449 from zlamalp/fixup

CORE: fixed attribute initialization