SimpleReplace: fail if edit summary is empty

Fixes #182
SimpleReplace: validate pattern