KAA-280: Implemented serialization routine for a profile extension.
Merge branch 'feature/KAA-280' of https://github.com/kaaproject/kaa into feature/KAA-280
KAA-280: Update serialization routine.
KAA-280: Update (de)serialization routine for an event module.
KAA-280: Fix merge conflicts.