added first revisioning features and listen to update
Merge branch 'headless' of https://github.com/juliusse/freeplane into headless