redirect back to participant on person edit #4119

also added specs for the existing redirect behavior for the provider
page
(cherry picked from commit b5e9edc685eadc0eca874b515d891fb15fae21fa)