Enforce prior to refinement for node mismatch

(This replaces #338.)

Adds the option to enforce mismatch limits prior to refinement for both edge level and node level mismatch options. Should close #330.