dopart: Create TODOTXT_PARTIALDONE_SEPARATOR_PATTERN config variable and switch to ERE form.

The variable and the identical regular expression dialect is needed for
the new splitopenparts action.
Add splitopenparts action.