This patch adds the support for histedit in hg continue plan.
As seperate hgcontinuehistedit() function is created to handle
independent calls for resuming histedit. This function is
then registered as continuefunc for state detection API.
Results are shown as tests.
I see that we can have a unified function, resumehistedit(..) which can be called from _histedit() too.