Rewriting of Draft management
Created by: lduboeuf
This is a rewriting of the Draft, just to explore other way to do that, and maybe fix more easily the random issues we face with draft Did some moves to avoid some bottom up dependencies. As onStateChanged from Qt.application seems to be correctly fired, we only save draft when applicaton is not active and when the component is destroyed, this will save a Timer and unneeded saves