more minor bugfixes and general improvements
more minor bugfixes and general improvements

off by one error in deletion loop (and undefined references)
sort listeners by pattern specificity
deletions are changes (for now)

xwiki-labs/cryptpad,xwiki-labs/cryptpad,xwiki-labs/cryptpad