Properly track doc changes in designer

Designer now has a published "edited" property
Switching kinds doesn't corrupt the kinds anymore
Merge pull request #203 from enyojs/Fix-designer

Properly track doc changes in designer