ProjectJournal: cap the number of undo states to prevent infinite memory buildup
The cap is hardcoded to 100 for now, TODO: make this number configurable (or even better: use a max. memory amount instead of max number of states)
Merge pull request #966 from diizy/stable-1.1

ProjectJournal: cap the number of undo states to prevent infinite memory...