Add named paths for pages to workaround rails #16058

This PR adds and uses named paths for `pages#edit`, `pages#update` and `pages#delete`. The named paths avoid rails generating URLs with %2F in place of a slash.