refactored client-side checklist augmentation

... splitting it into a generic and an application-specific module -
which (pending documentation) should make it ready to be moved into
markdown-checklist