CRM-13098 (CiviMember) - Reduce coupling between business logic and form layer; allo...

...w code to be called in contexts where the redirect should be ignore