Add ReplaceSeries and refactor the CreateSeries function into smaller steps

Are you doing this to make a copy? I don't think you need to do the waddrmgr.CanonicalPublicKeyOrder thing here.