Added support in document details saving

Not yet functional, fixed few bugs Alex found.
Missed file in last commit
Merge branch 'master' of https://github.com/NoamShaish/AcronymsHighlightsPlugin