[dev-overlay] Move app/pages related features closers together (#80280)
pages/ and app/ now have a designated "setup" file. Makes it easier to spot their differences.
The error handling would ideally be the same between App and Pages router but it's unlikely we'll have time porting the new App Router goodies with regards to error reporting to Pages Router.